Find the disk hog

You can put this code in your .profile as an alias or run on command line.

alias ducks='du -cks * | sort -rn | head -11'

Shows which users hog the most space in the directory you run this in, plus recurses downward. Ex: run in /home.

Advertisements

Comments are closed.