LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 01-05-2005, 02:44 PM   #1
exaudiomag
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,

Mark
 
Old 01-05-2005, 02:48 PM   #2
mastermindNYC
Member
 
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, 03:22 PM   #3
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Rep: Reputation: 54
Another good command is "du". If you want to know how much space is used by a particular directory:
Code:
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
Code:
man du
or
Code:
du --help
for more information.
 
Old 01-05-2005, 07:47 PM   #4
exaudiomag
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,

Mark
 
  


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 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 02:59 PM
out of Hard drive space it-s Linux - General 4 06-28-2005 04:03 PM
Available hard drive space totalrockage Linux - Newbie 3 04-08-2005 07:53 PM
Hard Drive space doralsoral Linux - Software 1 11-08-2003 05:19 PM
Available Hard Drive Space? Lampei Linux - Newbie 6 07-07-2003 04:08 PM


All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
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