Linux Filesystem Cheat Sheet/Filesystem free space

Display mounted filesystem capacity and usage.

Section: Space Usage

Filesystem free space

bash
bash
df -h

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 Space Usage
Directory size summary
Show total size for a directory in human-readable format.
OpenIn sheetbashsame section
Top-level sizes under current directory
Show one-level deep size totals.
OpenIn sheetbashsame section
Find largest files
List the biggest files under a directory.
OpenIn sheetbashsame section
Print working directory
Show the absolute path of the current directory.
Long listing with human sizes
Show detailed directory contents with human-readable sizes.
Create nested directories
Create a directory path including missing parents.