2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/df

18 lines
363 B
Plaintext
Raw Normal View History

2020-02-22 02:42:51 +00:00
# Print free disk space in a [h]uman-readable format.
2017-05-21 19:41:55 +00:00
df -h
2020-02-22 02:42:51 +00:00
# Free disk space for [t]ype EXT2 file systems.
2017-05-21 19:41:55 +00:00
df -t ext2
2020-02-22 02:42:51 +00:00
# Free disk space for filesystems, e[x]cluding EXT2.
2017-05-21 19:41:55 +00:00
df -x ext2
2020-02-22 02:42:51 +00:00
# Show [i]node usage.
2017-05-21 19:41:55 +00:00
df -i
2020-02-22 02:42:51 +00:00
# Show information about a distinct filesystem path.
df [PATH]
# List [a]ll filesystems, + unreadable, duplicates, pseudo, and inaccessible.
df -a