tldr/pages/common/df.md

21 lines
424 B
Markdown
Raw Normal View History

2014-01-27 05:47:12 +00:00
# df
> Display an overview of the filesystem disk space usage.
> More information: <https://manned.org/df.1posix>.
2014-01-27 05:47:12 +00:00
- Display all filesystems and their disk usage using 512-byte units:
2014-01-27 05:47:12 +00:00
`df`
- Display the filesystem and its disk usage containing the given file or directory:
`df {{path/to/file_or_directory}}`
2019-09-17 20:44:33 +01:00
- Use 1024-byte units when writing space figures:
2019-09-17 20:44:33 +01:00
`df -k`
- Display information in a portable way:
`df -P`