redhat command to display the size of directory please!
Hi all,
So far, i always use "ll" or "ls" to list all the files+dirs under my current dir, but for dirs, the size are always "4096", which command can let me display also the exact size of the directory? So that i can know which dir is exhausting my disk space. thanks in advance, |
This should do it:
du -h --max-depth=1 |
Try using ' ls -lh ' within the directory.
|
hypexr & kristijan, thank you guys for the prompt replies.
the "du" command is obviously working, thank you very much. good day, |
Personally I also like xdiskusage a lot ...
(even though I usually use the du method ;}) http://xdiskusage.sourceforge.net/ Cheers, Tink |
All times are GMT -5. The time now is 07:27 AM. |