Neatly display directory sizes from the Linux command line

By | November 10, 2008

If you want to display directory sizes from the CLI, following an ascendent pattern, use

du -S | sort -n

The command will analyze every subdirectory of the current location and print and easy to read output. Try it.

Leave a Reply

Your email address will not be published. Required fields are marked *