[wellylug] Where is my disk space?

Dave mish at doomx.net
Fri Jun 27 19:02:01 NZST 2003


Not a problem.

Go to your root dir (cd /) and run this command AS ROOT:

du -ch | grep "[0-9]M" | sort -gnr > large-directory-list

This will take quite a while as (obviously) it's going to go through your
entire file-system, but when it's done you'll have a file in your root
directory called "large-directory-list".

Open that file and you'll find it's a complete directory listing of your
file system with the largest directories listed at the top preceded by their
size in Megabytes.

----- Original Message ----- 
From: "Andrew Presant" <zrx1100 at paradise.net.nz>
To: "WLUG list address" <wellylug at lists.naos.co.nz>
Sent: Friday, June 27, 2003 6:46 PM
Subject: [wellylug] Where is my disk space?


> OK, I'm a Mac user, and can use Windows... New to Linux.
>
> I have a Linux machine with a 20Gb dick and Red Hat 8.0 installed. I can't
> do anymore updates because I have no disk space left.
>
> Where can it be? How can I tell?
> What can I do?
> What can I delete? (Games etc) How?
>
> This is the type of thing I had hoped I could find out at meetings.
>
> Cheers
> Andrew
> -- 
> zrx1100 at paradise.net.nz
> http://203.79.119.197/index.html
>
>
> -- 
> Wellington Linux Users Group Mailing List: wellylug at lists.naos.co.nz
> To Leave:  http://lists.naos.co.nz/mailman/listinfo/wellylug




More information about the wellylug mailing list