HOWTO: See How Much Free Disk Space I Have?
There are various GUI tools in both KDE and Gnome to view the disk space usage of any particular disk, but one sure fire way to see all your disks at once is to open a terminal window and type:
df
This command will report the disk usage of all mounted drives. On my system, for example, df nets me this:
jon@jonzbox:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda4 18160624 2092472 15145620 13% / tmpfs 224912 0 224912 0% /dev/shm /dev/hda3 10317860 42900 9750840 1% /home /dev 18160624 2092472 15145620 13% /.dev none 5120 2808 2312 55% /dev /dev/hdc 529470 529470 0 100% /media/cdrom0
This is a fairly new install, so you may note that there is virtually nothing in my home directory (which I have dsignated as its own partition) yet.
Related Stories
POSTED IN: General
3 opinions for HOWTO: See How Much Free Disk Space I Have?
aizatto
Oct 6, 2005 at 8:06 am
What! I can’t understand that…try `df -h`, thats alot easier to work with. :)
Jon
Oct 6, 2005 at 2:11 pm
It comes out a lot clearer on the screen. I had to try to make a table here that admittedly doesn’t look very nice :)
Thanks for the tip on df -h. I’ll try it!
New Linux User » HOW TO: Find Out What Partition I Am On
May 30, 2006 at 5:14 am
[…] I’ve been reading up on the df command. The df command shows free disk space and I’ve covered it before. It has one function that I didn’t know about, however, and that’s the ability to show you which disk and partition you are on at any given time. […]
Have an opinion? Leave a comment: