Disk Space Available

David-Paul Niner dpniner at dpniner.net
Fri Nov 4 17:33:39 UTC 2005


Mike McCarty wrote:
> Ki Song wrote:
> 
>> quick question, how do i see how much disk space is available? i'm using
>> fedora core 4 without any gui interface.
> 
> 
> I suggest you learn how to use the tools Linux has...
> 
> $ apropos disk | grep "us.*e"
> df                   (1)  - report filesystem disk space usage
> pvcreate             (8)  - initialize a disk or partition for use by LVM
> quota                (1)  - display disk usage and limits
> quotacheck           (8)  - scan a filesystem for disk usage, create,
> check and repair quota files
> setfdprm             (8)  - sets user-provided floppy disk parameters
> 
> 
> Mike

Running df against a mount target is probably the quickest way.   For
example:

df /dev/hda on my machine shows

[dpniner at fortinbras ~]$ df /dev/hda
Filesystem           1K-blocks      Used Available Use% Mounted on
-                       256448       788    255660   1% /dev
[dpniner at fortinbras ~]$

Later,
DP
-- 
David-Paul Niner, RHCE
Orange Park, Florida, United States
GPG Key ID: 0x106B54E3




More information about the fedora-list mailing list