df (Unix)
![]() Example usage of df | |
Original author(s) | Ken Thompson, Dennis Ritchie (AT&T Bell Laboratories) |
---|---|
Developer(s) | Various open-source and commercial developers |
Initial release | November 3, 1971 |
Operating system | Unix, Unix-like |
Platform | Cross-platform |
Type | Command |
License | coreutils: GPLv3+ |
df (abbreviation for disk free) is a standard Unix command used to display the amount of available disk space for file systems on which the invoking user has appropriate read access. df is typically implemented using the statfs or statvfs system calls.
History[edit]
df
for Unix-like systems is part of the X/Open Portability Guide since issue 2 of 1987. It was inherited into the first version of POSIX and the Single Unix Specification.[1] It first appeared in Version 1 AT&T Unix.[2]
The version of df bundled in GNU coreutils was written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.[3] The command is available as a separate package for Microsoft Windows as part of the UnxUtils collection of native Win32 ports of common GNU Unix-like utilities.[4]
Usage[edit]
The Single UNIX Specification specifications for df are:
- -k
- Use 1024-byte units, instead of the default 512-byte units, when writing space figures.
- -P
- Use a standard, portable, output format
Comments
Post a Comment