Linux
linuxlinux-commandsReferenceBeginner
Report File System Disk Space Usage (df)
Check disk partition free space, mount points, and inode utilization in human-readable format with df.
Verified: 2026-09-30
Tested on:linux Ubuntu 24.04 / Debian 12
Platforms:
linuxmacos
#linux#df#disk#storage#cli
Command
df -h
Short Description
df (Disk Free) displays the amount of available and used disk space on all mounted filesystems.
Examples
1. Human-Readable Capacity Breakdown (-h)
df -h2. Include Filesystem Types (-T)
df -hT3. Check Inode Usage (-i)
df -i4. Check Disk Space for a Specific Directory
df -h /var/lib/docker