df
Options
--help
-
df-help-print-help
--all
,-a
-
df-help-all
--block-size=<SIZE>
,-B <SIZE>
-
df-help-block-size
--total
-
df-help-total
--human-readable
,-h
-
df-help-human-readable
--si
,-H
-
df-help-si
--inodes
,-i
-
df-help-inodes
-k
-
df-help-kilo
--local
,-l
-
df-help-local
--no-sync
-
df-help-no-sync
--output=<FIELD_LIST>
-
df-help-output
--portability
,-P
-
df-help-portability
--sync
-
df-help-sync
--type=<TYPE>
,-t <TYPE>
-
df-help-type
--print-type
,-T
-
df-help-print-type
--exclude-type=<TYPE>
,-x <TYPE>
-
df-help-exclude-type
Examples
Display all filesystems and their disk usage using 512-byte units:
df
Display the filesystem and its disk usage containing the given file or directory:
df {{path/to/file_or_directory}}
Use 1024-byte units when writing space figures:
df -k
Display information in a portable way:
df -P
The examples are provided by the tldr-pages project under the CC BY 4.0 License.
Please note that, as uutils is a work in progress, some examples might fail.