Favourite command today:

sudo du -hxd1 | sort -h

Find out where disk space is being used under the current working directory, without crossing mount points, sorted by size.

GNOME's Disk Usage Analyzer does the same thing more graphically and visually, but sometimes a command line is preferable.


@federico3 Nifty, if one can install it. I don't have root on work's servers, so I'm limited.

Sign in to participate in the conversation

Lars and friends