[wellylug] Where is my disk space?

Jonathan Harker jharker at massey.ac.nz
Fri Jun 27 19:24:50 NZST 2003


Dave wrote:
 > Andrew Presant wrote:
 > >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?
>
> 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

Not at all obvious to someone new to Linux...

*ducks*   :-)

J





More information about the wellylug mailing list