Linux Commands Helper
💬 Your AI-powered Linux assistant
df Command - Report Disk Space Usage
The df command displays the amount of disk space used and available on filesystems.
Syntax
df [options] [file]
Examples
df -h
Display disk usage in a human-readable format.
df /home
Show disk usage for the /home directory.
Notes
- The
-h
option displays sizes in human-readable units (e.g. MB, GB). - Useful for checking disk space before operations like backups or installations.