You are not logged in.

#1 2008-06-22 04:43:29

THEM
Member
Registered: 2008-05-22
Posts: 6

Disk Usage Breakdown

Hey, I'm a *nix noob.

My control panel says I'm using a few gigs of space and I wanna know which directories are using that space.

Is there some way to easily view that in the panel on the shell?

thanks,
chris

Offline

 

#2 2008-06-22 10:27:40

likebike
Member
Registered: 2008-05-05
Posts: 263

Re: Disk Usage Breakdown

The easiest way to see which directories are taking up the most space is to run this command, from your home directory:

du -hs *

Then, 'cd' into the directory that is taking up the most space and run the same command again.

Repeat the process until you find the files that are actually taking up the space.

Another command that is useful is "ls -lh", which shows how much space the files in the current directory are using.

Regards,

~Chris Sebastian

Offline

 

#3 2008-06-22 23:06:00

THEM
Member
Registered: 2008-05-22
Posts: 6

Re: Disk Usage Breakdown

That was perfect.  Thanks Chris!!!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson