[Smaug] Quick admin question
Karsten Wade
phig at phig.org
Fri, 1 Mar 2002 17:18:45 -0800 (PST)
On Fri, 1 Mar 2002, Dave wrote:
> du --max-depth=1
And for those of us who are bit-math impaired, at least on the fly :), you
might want to throw in a -h for human-readable file sizes in MB:
# du --max-depth=1 -h
'Course, you might need to run this as root or with a sudo command to get
into all those root-only directories.
One thing I like about du is that it works recursively from the directory
you are in, so you can use it to see just how big your ~/ directory is, or
any sub-directory in particular.
- k'
"sysadmin in training"
'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`
Karsten Wade "As sharp as the leading
karsten@phig.org edge of a ball bearing."
http://phig.org/gpg/ - Dallas Dobro