df
df reports the amount of disk space used and available on file systems.[1]
With no arguments, df reports the space used and available on all currently mounted file systems (of all types). Otherwise, df reports on the file system containing each argument FILE.[1]
- GNU Coreutils [EN] @ Fedora Package
- GNU Coreutils [EN] @ Homebrew Formula
Documentation
- df [EN] @ GNU Coreutils Manual
- man 1 'df' [EN]
Syntax
df [PARAMETER ...] [FILE]
Parameters
- General
- The following parameters can be used with all version of df:
- -h, --human-readable
- Append a size letter to each size, such as M for mebibytes. Powers of 1024 are used, not 1000; M stands for 1,048,576 bytes. This option is equivalent to --block-size='human-readable'.
- -H, --si
- Append an SI-style abbreviation to each size, such as M for megabytes. Powers of 1000 are used, not 1024; M stands for 1,000,000 bytes. This option is equivalent to --block-size='si'.
- --total
- Print a grand total of all arguments after all arguments have been processed. This can be used to find out the total disk size, usage and available space of all listed devices. If no arguments are specified df will try harder to elide file systems insignificant to the total available space, by suppressing duplicate remote file systems.
- GNU
- The following parameters can be used with the GNU version of df:
- -T, --print-type
- Print each file system’s type. The types printed here are the same ones you can include or exclude with -t and -x. The particular types printed are whatever is supported by the system.