Everything2
Near Matches
Ignore Exact
Full Text
Everything2

df

"df" is also a: user

created by CLorox

(thing) by RPGeek (16 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
Look at this mess the Death Borg made!
Fables from the Book of Yelps and Growls
The erotic tales of 'old McMurty': that weird kid's favourite dead dog
Why beverage cans have concave bottoms
A Blather of Paradoxes
Edward IV
Yer Blues
A Man's Salad
My body is a battlefield, and all my breasts ever do is argue about existentialism
work
tai chi
The Destruction of Sennacherib
People shouldn't swallow rocks
hatless atlas
New Writeups
Aerobe
Watch out for falling meat(poetry)
C-Dawg
Beelzebub has a devil put aside for me(fiction)
Pavlovna
My Better Half(fiction)
kanoodle
Molson muscle(essay)
aneurin
You pays your money and you takes your choice(idea)
shaogo
July 20, 2008(log)
Glowing Fish
Tualatin River(place)
The Jacket
Words of Advice(idea)
John_Fox
Good Intentions Gone Wrong(person)
Heitah
Posthumous Oscar(thing)
ignis_glaciesque
University of South Florida(place)
ignis_glaciesque
Flogstaskriket(idea)
liveforever
Caesar's last breath(idea)
dagnyswaggart
she wants to believe(personal)
antigravpussy
he doesn't know, but her eyes widen too far(thing)
This affordable entertainment brought to you by The Everything Development Company