2014-01-27 05:47:12 +00:00
|
|
|
# df
|
|
|
|
|
2024-01-07 10:43:56 +00:00
|
|
|
> Display an overview of the filesystem disk space usage.
|
2024-01-08 23:04:49 +00:00
|
|
|
> More information: <https://manned.org/df.1posix>.
|
2014-01-27 05:47:12 +00:00
|
|
|
|
2024-01-07 10:43:56 +00:00
|
|
|
- Display all filesystems and their disk usage using 512-byte units:
|
2014-01-27 05:47:12 +00:00
|
|
|
|
|
|
|
`df`
|
|
|
|
|
2020-10-03 15:38:06 +01:00
|
|
|
- Display the filesystem and its disk usage containing the given file or directory:
|
2017-11-12 18:19:53 +00:00
|
|
|
|
2019-02-11 18:00:49 +00:00
|
|
|
`df {{path/to/file_or_directory}}`
|
2019-09-17 20:44:33 +01:00
|
|
|
|
2024-01-07 10:43:56 +00:00
|
|
|
- Use 1024-byte units when writing space figures:
|
2019-09-17 20:44:33 +01:00
|
|
|
|
2024-01-07 10:43:56 +00:00
|
|
|
`df -k`
|
2020-06-03 14:31:47 +01:00
|
|
|
|
2024-01-07 10:43:56 +00:00
|
|
|
- Display information in a portable way:
|
2020-06-03 14:31:47 +01:00
|
|
|
|
2024-01-07 10:43:56 +00:00
|
|
|
`df -P`
|