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
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!