Click to See Complete Forum and Search --> : Finding the size of a dir


ScRapZ_1
04-13-2002, 11:53 AM
How can I find out how much a particular dir is taking up in disk space. Example: I have a /usr partition, and I want to find out how much /usr/local is taking up. Should be easy...

TTFN,
ScRapZ_1 :p

mdwatts
04-13-2002, 12:06 PM
du -sh /usr/local

Lots more options you can use with du and df in their manpages.

ScRapZ_1
04-13-2002, 12:10 PM
Thanks, although i pictured something different. du doesnt really make sense.

...directory usage? It makes sense now :D

Thanks.

TTFN,
ScRapZ_1 :p

mdwatts
04-13-2002, 12:24 PM
Actually it's Disk Usage.

Glad to help.