tldr/pages/common/df.md

24 lines
475 B
Markdown
Raw Normal View History

2014-01-27 05:47:12 +00:00
# df
> Gives an overview of the file system disk space usage.
2014-01-27 05:47:12 +00:00
- Display all file systems and their disk usage:
2014-01-27 05:47:12 +00:00
`df`
- Display all file systems and their disk usage in human readable form:
2014-01-27 05:47:12 +00:00
`df -h`
- Display the file system 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 file systems but exclude the specified type:
`df -x {{squashfs}} -x {{tmpfs}}`