How to get summarized sizes of folders including their subfolders?

Well there are few ways to achieve this, here are two:

du -sh /*

This will spit out a summary for the whole root of your filesystem or other path if you change it.

du -m / | sort -nr

This does pretty much the same, but sorts output by  filesize.

You cannot comment on this entry