Re: directory size...

Eric Koldeweij <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
try:

du -h --max-depth=1

This will prevent du from examining subdirectories. If you specify 
--max-depth=2 it'll only examine immediate subdirectories etc etc etc.
Probably that's what you need :)

Eric.

System wrote:

>How do I view the directory size? du -h shows me the size of files and sub
>directories as well. I want to view only direcotry size.
>
>Thank you,
>
>Tina.
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.