LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hard Drive Space (https://www.linuxquestions.org/questions/linux-newbie-8/hard-drive-space-274243/)

exaudiomag 01-05-2005 01:44 PM

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

mastermindNYC 01-05-2005 01:48 PM

Open a terminal and type:

df -h

m_yates 01-05-2005 02:22 PM

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.

exaudiomag 01-05-2005 06:47 PM

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


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