Return to Snippet

Revision: 46458
at June 4, 2011 06:39 by pyroblue


Updated Code
#the entire filesystem, starting at '/'
du -a /* | sort -n -r | head -n 10

#or for a particular directory:
du -a /home/username/ | sort -n -r | head -n 10

Revision: 46457
at May 20, 2011 00:18 by pyroblue


Initial Code
the entire "box":
du -a /* | sort -n -r | head -n 10

or for a particular directory:
du -a /home/username/ | sort -n -r | head -n 10

Initial URL


Initial Description


Initial Title
find the largest directories in a Unix shell

Initial Tags
file, linux, directory

Initial Language
Bash