Directory using the most disk space
Tim Wunder
tim
Mon Dec 27 22:33:27 PST 2004
On Monday 27 December 2004 10:21 pm, someone claiming to be Chong Yu Meng
wrote:
> Hi all,
>
> I have a filesystem that is about 90% full, and I know that an
> application is probably dumping a lot of log data into a directory. I
> don't own the server or the directory, but I do have sudo access.
>
> This is probably a stupid question, but is there a command for locating
> the directory taking up the most disk space?
>
du
# du -s /*
will give the disk usage for all directories under /
'man du'
HTH,
Tim
--
Fedora Core release 2 (Tettnang), Linux 2.6.9-1.6_FC2
KDE: 3.3.2-1.2.2.kde, xorg-x11-6.7.0-11
22:30:00 up 19 days, 4:53, 2 users, load average: 0.29, 0.12, 0.03
"It's what you learn after you know it all that counts" John Wooden
More information about the Linux-users
mailing list