df
Installation
SKILL.md
Identity
| Property | Value |
|---|---|
| Binary | df |
| Config | No persistent config — invoked directly |
| Logs | No persistent logs — output to terminal |
| Type | CLI tool (part of coreutils) |
| Install | apt install coreutils / dnf install coreutils (pre-installed on all Linux systems) |
Key Operations
| Task | Command |
|---|---|
| Human-readable sizes (KB/MB/GB) | df -h |
| Show all filesystems including zero-size | df -a |
| Show inode usage instead of block usage | df -i |
| Exclude tmpfs and devtmpfs from output | df -h -x tmpfs -x devtmpfs |
| Usage for a specific path or mountpoint | df -h /var/log |
Related skills