The Linux df Command: Finding Disk Space
"Your disk is full." Three vague words from my boss. Which disk? Which folder? Using df, I found the answer in seconds. Let me show you how.
First df Commands
Basic
dfHuman readable
df -hShows KB, MB, GB.
Filesystem type
df -TShows filesystem type.
Specific filesystem
df -h /dev/sda1df Commands That Work
With inode info
df -iInode usage.
Total summary
df -hT --totalEverything with grand total.
Local filesystems
df -ht ext4Only ext4.
Conclusion: df Is Essential
df shows which filesystems are full. Use -h always.
The df Command Builder makes filtering easy.
