find all large files on Centos/Red Hat/Fedora
Quick and handy way to find all files in a particular directory.
find /home/ -type f -size +5000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
The same command on Ubuntu is:
find /home/ -type f -size +5000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
You can replace the “5000″ above with a number of your choosing. The example above finds all files larger than 5 Megabytes.
If you just want to find a particular filename try:
find | grep searchterm
where searchterm contains the part or all of the filename that you are looking for.
I like Linux but this could only be described as “quick and handy” for a hardened linux type !
p.s. after you submit a comment you get a web error