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


df [options ] [name ]

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



Provide information about all filesystems, even ones usually marked in /etc/mnttab to be ignored. Solaris only.


Print only the number of free kilobytes.


Print only the number of free files.

-F type

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


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


/usr/ucb/df only. Show the number of used and available inodes in a format similar to df -k .


Print allocation in kilobytes (typically used without other options). This option produces output in the format traditionally used by the BSD version of df .


Report only on local filesystems.


Print only the filesystem type name; with no other arguments, -n lists the types for all mounted filesystems.

-o suboptions

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


Report total allocated space as well as free space.


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 NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System