Want to list the top 10 files eating disk space on a Linux/Unix/BSD/OSX oses? Tr…

Reshared post from +nixCraft

Want to list the top 10 files eating disk space on a Linux/Unix/BSD/OSX oses? Try:

find . -type f -exec wc -c {} ; | sort -nr | head 

See man pages find, sort, head, and xargs for more usage 🙂

#Sysadmin   #Server   #Disks   #Unix   #Linux  

Post imported by Google+Blog for WordPress.