How do I get the disk usage of a directory including hidden directories/files?

~ 0 min

Using du with a wildcard would not normally include "hidden" directories/files (those starting with a dot). But you can show the usage with this simple command.

du -sch .[!.]* *


Average rating 5 (1 Vote)

You cannot comment on this entry