Linux Disk Storage Cheat Sheet/Show filesystem free space

Display used and available capacity in human-readable units.

Section: Inventory and Capacity

Show filesystem free space

bash
bash
df -h
Explanation

Display used and available capacity in human-readable units.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Inventory and Capacity
Show inode usage
Check inode exhaustion when space looks free but writes fail.
OpenIn sheetbashsame section
Summarize current directory usage
Estimate disk usage for the current directory tree.
OpenIn sheetbashsame section
List block devices as a tree
Show disks, partitions, loop devices, and mountpoints.
OpenIn sheetbashsame section
Show filesystems with UUIDs
Display filesystem type, label, UUID, and mountpoint.
OpenIn sheetbashsame section
Select custom lsblk columns
Useful when you want clean inventory output for documentation or scripts.
OpenIn sheetbashsame section
Probe block devices for signatures
Read known filesystem, RAID, and partition metadata.
OpenIn sheetbashsame section