Finding Large Files

Today I was looking for a parameter that could help me to find large files. Fortunately, Google browsed me to a very good post (http://linuxlookup.com/howto/find_all_large_files_linux_system).

In a Brief:
Simple way:

find ~ -size +20M

Nice Way:

find / -type f -size +20000k -exec ls -lh {} \; 2> /dev/null | awk '{ print $NF ": " $5 }' | sort -nrk 2,2

Or…. If you want find large directories

du -hsx * | sort -rh | head -10

Leave a Reply

Your email address will not be published. Required fields are marked *