tldr/pages/common/df.md

25 lines
536 B
Markdown
Raw Permalink Normal View History

2014-01-27 05:47:12 +00:00
# df
> Gives an overview of the filesystem disk space usage.
> More information: <https://www.gnu.org/software/coreutils/df>.
2014-01-27 05:47:12 +00:00
- Display all filesystems and their disk usage:
2014-01-27 05:47:12 +00:00
`df`
- Display all filesystems and their disk usage in human-readable form:
2014-01-27 05:47:12 +00:00
`df -h`
- 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
- Display statistics on the number of free inodes:
`df -i`
- Display filesystems but exclude the specified types:
`df -x {{squashfs}} -x {{tmpfs}}`