LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-13-2001, 02:28 PM   #1
thetruevoice
Member
 
Registered: Feb 2001
Posts: 51

Rep: Reputation: 15
space?


i've been workin on linux for a little while now and i just realized i dont know the simplest thing.

from a command prompt what do you type to show remaining and used space of the drive. (kinda like dir in dos)

thnx
 
Old 09-13-2001, 02:34 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
You probably want to look at
Code:
df -h
which will show you the remaining space on all your mount points. If you wanted to look at a single mount point, say /boot then you would use
Code:
df -h /boot
The -h just reports the free space in a human readable form using KB, MB & GB - if you don't use this option then it just shows you in KB. Its worth noting that if you use the df that is packaged with some other Unix systems it reports the free space in Posix standard 512-byte blocks, which can be really confusing when you expecting it to be in KBytes!!

HTH

Jamie...
 
Old 09-13-2001, 02:49 PM   #3
thetruevoice
Member
 
Registered: Feb 2001
Posts: 51

Original Poster
Rep: Reputation: 15
thanks, thats all i needed to know
 
  


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
how to reduce swap space and reclaim the space grantm Linux - Newbie 7 08-16-2012 07:05 AM
notify user space application from the kernel space lordofring Linux - Software 2 06-22-2009 12:32 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 12:44 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:45 PM.

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
Open Source Consulting | Domain Registration