Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-05-2005, 01:44 PM   #1
LQ Newbie
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Mandrakelinux 10.0
Posts: 5

Rep: Reputation: 0
Hard Drive Space

When I was using Windows ME, I could see how much free space I had left and how much I was using when I clicked on "My Computer."

Is there a MandrakeLinux version of this utility? I have a 20GB HD and I recently saw that I only about 3GB left.

I can't see what size the partitions are, and I can't see how much space is left on each partition. I would like to be able to see how much space the operating system is using and how much the few files I've copied back onto this hard drive are using.

When I installed via FTP, I selected "Erase Entire Disk" as the option but I'm afraid there may still be some stuff on the HD I'm not using or will ever use.

Thanks in advance,

Old 01-05-2005, 01:48 PM   #2
Registered: Nov 2004
Location: NYC
Distribution: Slackware 10.0
Posts: 33

Rep: Reputation: 15
Open a terminal and type:

df -h
Old 01-05-2005, 02:22 PM   #3
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
Another good command is "du". If you want to know how much space is used by a particular directory:
du /home/matt/Presentations/ -c -h
The directory of interest is "/home/matt/Presentations/" The "-c" flag says to give a grand total. The "-h" flag says to give output in human readable format. Type
man du
du --help
for more information.
Old 01-05-2005, 06:47 PM   #4
LQ Newbie
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Mandrakelinux 10.0
Posts: 5

Original Poster
Rep: Reputation: 0
Awesome! You guys rock. Turns out I have 3GB on my swap drive and over 11GB on my regular drive. I have more space than I thought I did.

Thanks a million,



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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
40 Gb hard drive--How much space for XP? oomfoofoo Linux - Laptop and Netbook 6 08-10-2005 01:59 PM
out of Hard drive space it-s Linux - General 4 06-28-2005 03:03 PM
Available hard drive space totalrockage Linux - Newbie 3 04-08-2005 06:53 PM
Hard Drive space doralsoral Linux - Software 1 11-08-2003 04:19 PM
Available Hard Drive Space? Lampei Linux - Newbie 6 07-07-2003 03:08 PM > Forums > Linux Forums > Linux - Newbie

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

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