Everything2
Near Matches
Ignore Exact
Full Text
Everything2

df

"df" is also a: user

created by CLorox

(thing) by RPGeek (7 hr) (print)   ?   I like it! Wed Jul 23 2003 at 18:29:42

df is the POSIX command for determining the amount of free disk space on a mounted filesystem. It presents its results in a simple columnar format:

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda1              3526172   1139560   2207492  35% /
/dev/hda2             55337152       840  52525344   1% /home
otherbox:/home        53937632  21984112  29213632  43% /automount/otherbox.home
With the -h option, available in GNU df, the figures become more comprehensible:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             3.4G  1.1G  2.1G  35% /
/dev/hda2              53G  840k   50G   1% /home
otherbox:/home         51G   21G   27G  43% /automount/otherbox.home
The only other useful option is to list filenames or directories, each of which has the available space information printed for the filesystem it is associated with.

Although df is a very simple command, it is quite convenient, especially when working with large files. Its output, especially when the -h option is not used, is easily manipulable by other programs, and it fits with the Unix two-letter naming convention for convenience of typing. Probably the most convenient feature is that it defaults to displaying all filesystems, so that it is very easy to get a summary of the state of your machine. Nevertheless, it is not nearly as useful as its counterpart, du, as discussed at that node.


printable version
chaos

du designated fuck Lick me where I bleed disk usage under UNIX
dd DanFoss Couriers Daggerfall Del
bcc rm -rf / ls length
Kennywood HTML attributes Fisherman's knot John Adams's 1799 State of the Union Address
George Washington's 1796 State of the Union Address George Washington's 1790 State of the Union Address POSIX_ME_HARDER inode
D.C. dc Distrito Federal act
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Just another sprinkling of indeterminacy
Things you can tell just by looking at her
Pig on her back
Mean Streets
Hans van Meegeren
Nothing new about Ancient Greece will be learned until the Vatican is plundered
Dizzy and Katyana's Wedding Vows
punctuation
The Hellfire Club
Cooperative Principles
This ocean is angry but I might live through it
Let's Hang Out: A Prairietown Nodermeet
Oligarchical Collectivism
To all the shut-ins
New Writeups
locke baron
Tyan Thunder K8WE(thing)
locke baron
Udaloy class destroyer(thing)
Scaevola
Same-sex marriage(idea)
SteveMurrayFromNZ
British Standard Handful(idea)
nailbiter
nerve stapling(thing)
locke baron
Multiple Myeloma(thing)
SubSane
blonde, freckles, skinny, short(person)
arcanamundi
A Ruba'iyat for May(person)
riverrun
Timed Writing(idea)
auraseer
Fling(fiction)
StrawberryFrog
Iron Man(review)
devolution
Misogyny and Porn, East to West - An Empirical Analysis(idea)
devolution
Korea is a place that refuses to stand still(idea)
Beanie127
The Pacifist Soldier(fiction)
VergilKint
Distilled from Dreams(fiction)
This page courtesy of The Everything Development Company