Largest Files and Folders Linux

Top 20 Largest folders in a directory in Linux.

 du -shx * | sort -hr | head -n 20

Find All files larger than 50 megs in the entire system:

find / -type f -size +50M -exec ls -lh {} \; 2> /dev/null | awk '{ print $NF ": " $5 }' | sort -nrk 2,2
Let's share thisShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn