Neatly display directory sizes from the Linux command line
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.