Shell: finding the biggest file on the server

From lxadm | Linux administration tips, tutorials, HOWTOs and articles
Jump to: navigation, search

Finding the largest files (size) on the server:

find / -type f | xargs -I {} du -sh --block-size=M {} | sort -nr > /out.txt