$ df
Report file system disk space usage
DOCUMENTEDStorageUbuntu 24.04 LTS baseline
Synopsis
df [OPTION]... [FILE]...
What it does
- `df` reports space available on the file system containing each FILE.
- `-h` requests human-readable sizes.
Examples
Show mounted filesystem usage
df -hShow usage for a path
df -h /varImportant details
These examples are intentionally conservative. Command behavior can still depend on filesystem state, permissions, locale, shell, installed package version, and other system configuration.
For exact option semantics, the linked authoritative documentation is the source of truth.