home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: deroff Chapter 2
UNIX Commands
Next: Reference: diff
 

df



df

 [

options

] [

name

]

Report the number of free disk blocks and inodes available on all mounted file systems or on the given name . (Unmounted file systems are checked with -F .) name can be a device name (e.g., /dev/dsk/0s9 ), the directory name of a mounting point (e.g., /usr ), a directory name, or a remote resource name (e.g., an RFS/NFS resource). Besides the options listed, there are additional options specific to different file system types or df modules.

Options

-b

Print only the number of free kilobytes.

-e

Print only the number of free files.

-f

Report free blocks but not free inodes (SVR3 only).

-F type

Report on an unmounted file system specified by type . Available types can be seen in the file /etc/vfstab .

-g

Print the whole statvfs structure (overriding other print options).

-k

Print allocation in kilobytes (typically used without other options).

-l

Report only on local file systems.

-n

Print only the file system type name; with no other arguments, -n lists the types for all mounted file systems.

-o suboptions

Supply a comma-separated list of type -specific suboptions .

-t

Report total allocated space as well as free space.

-V

Echo command line but do not execute command.


Previous: Reference: deroff UNIX in a Nutshell: System V Edition Next: Reference: diff
Reference: deroff Book Index Reference: diff

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System