LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Directory size (https://www.linuxquestions.org/questions/linux-general-1/directory-size-6142/)

Steave 09-02-2001 06:04 AM

Directory size
 
Now here's an easy one: How can I display the size of a directory? - On the console! -

jharris 09-02-2001 07:08 AM

Code:

du -h directoryName
Should do you

HTH

Jamie...

DoubleLetter 09-02-2001 11:00 AM

du -hs directoryName

will display a summary.

Regards,

A.A

crabboy 09-02-2001 03:58 PM

Is du -h the same as du -s?

du -h does work on my machine, but my man page does not show a -h option.

DoubleLetter 09-03-2001 04:13 AM

-h displays the sizees in human-readable format [i.e as 1 mb not 10000 kb]


All times are GMT -5. The time now is 08:31 PM.