Linux tip: Sort directories by size.
  |   Source

Sorting Directories by Size in Linux

I often need to clean-up so natually I need to list directories in the current directory, sorted by size from largest to smallest. But since I keep forgetting the command, I am putting it here so that I can remember it later.:

du -h --max-depth=1 | sort -hr