1

in unix, how can I figure out the size of a directory (and its sub-directories), including any hidden files etc.

3 Answers 3

5

This should work:

du -h dirname
5

I always use this spell :

du -ch --max-depth=1

It should give you all info you want

-- Regards, Robert

3
du -sh <dir_name>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .