Operating Systems > Linux and UNIX

Where is the space?

(1/2) > >>

ForceSphere:
Okay, i am sure i have been asking nooby questions about linux but, atleast im trying to get away from satan's grip.  If there is another place i can go where noobies are helped out with linux plz tell me where, well here is another question about linux that i am sure is nooby.

How do i check how much space is left on my / drive aka C:  This is really bugging me.

flap:
df /

Pantso:
Feel free to ask as many questions as possible! I don't think anyone here has a problem! On the contrary.

Now, to your question. You could check that out from a shell with a command, but I'm afraid I don't remember the exact one. You see, I'm a bit spoilt with KDE and GNOME. If you're using KDE go to KDE start menu (the RedHat logo in RedHat)-> Control Center -> Information -> Block Devices and that's about it. Also try to get used to the idea that your physical drives are not represented by drive letters in Linux which is the case in windows. Linux incorporates those drives into the directory tree. 'Nuff said. Again, feel free to ask!

flap:

quote:Originally posted by Panos:
Now, to your question. You could check that out from a shell with a command, but I'm afraid I don't remember the exact one.
--- End quote ---


I'm thinking "df /" would do it.

Actually do
df -h /
to get the value in a more readable format. If you ommit the "/" it will give you the space on all mounted drives.

[ February 05, 2003: Message edited by: flap ]

Pantso:

quote:Originally posted by flap:


I'm thinking "df /" would do it.

Actually do
df -h /
to get the value in a more readable format. If you ommit the "/" it will give you the space on all mounted drives.

[ February 05, 2003: Message edited by: flap ]
--- End quote ---


Yep "df /" is the one. Thanks for reminding that flap. I didn't see your first post.      

For example the output of "df /" in OS X is:


--- Code: ---
--- End code ---

[ February 05, 2003: Message edited by: Panos ]

Navigation

[0] Message Index

[#] Next page

Go to full version