Getting subdirectory sizes including "hidden" dot-directories

Getting subdirectory sizes including "hidden" dot-directories

When investigating what eats up all that disc space the dot-directories like  .cache, .local, .thunderbird and the like usually evade a du call.

Here's how to get those too, and sort the output by eaten space:

du -smc .[!.]* * |sort -n

Bonus hint: sort understands -h too:

du -smc .[!.]* * |sort -h