Skip to main content
Kill -9 Club
Sign in

df

Reading the systemPackage: coreutils

The space on each filesystem, in blocks or with -i in inodes. A "full" disk while df -h shows room is almost always a df -i at 100%.

What its options do in the lessons

From the same glossary the lessons render under their commands, so the two cannot disagree.

df -h
Human-readable sizes (4.3G instead of 4508876).
df -i
Counts *inodes* rather than bytes. A disk can run out of inodes while still reporting free space.
df --output
Chooses which columns to print instead of the full table. Useful in a script.

Lessons that teach it