LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-12-2005, 11:06 AM   #1
adamb10
Member
 
Registered: Aug 2003
Posts: 86

Rep: Reputation: 15
Caculating free space on Hard Drive


I open up a terminal and type df. This is what I get:

http://www.adamb10.com/Screenshot.png

So if Linux is installed on hdb how many more gigabytes do I have left?

Last edited by adamb10; 06-12-2005 at 11:09 AM.
 
Old 06-12-2005, 11:26 AM   #2
sm1else
Member
 
Registered: Oct 2004
Distribution: At home: Ubuntu, Debian Sarge
Posts: 56

Rep: Reputation: 15
If you look at the manual for df (man df) you will notice there are many options to change the way the output is displayed.

Code:
df -h
will display the information in a 'human readable format', meaning it will display the sizes in appropriate units (Kb, Mb, Gb, etc.) rather than in blocks.

Just as a small note, it was a overkill to use a screenshot to show your terminal output, you could have just copied the text into your message (using the Code button on the message editor)
 
Old 06-12-2005, 11:31 AM   #3
adamb10
Member
 
Registered: Aug 2003
Posts: 86

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by sm1else
If you look at the manual for df (man df) you will notice there are many options to change the way the output is displayed.

Code:
df -h
will display the information in a 'human readable format', meaning it will display the sizes in appropriate units (Kb, Mb, Gb, etc.) rather than in blocks.

Just as a small note, it was a overkill to use a screenshot to show your terminal output, you could have just copied the text into your message (using the Code button on the message editor)
I originally did until I saw the text was all messed up.
 
Old 06-12-2005, 12:18 PM   #4
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
"apt-get install discus" if you want some sort of a graphical representation of free/used space.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not enough free space on hard drive with 50g of free space??? auoq Suse/Novell 5 10-13-2004 08:21 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM
How to determine the free Hard Drive space ako Linux - Newbie 2 12-28-2003 10:11 PM
After removing another hard drive, system sees incorrect amount of free space cellphone Linux - General 5 09-28-2003 07:29 PM
Hard Drive free space gatorbyte Linux - Software 3 05-12-2003 06:28 AM


All times are GMT -5. The time now is 11:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration