System Info

df

Report filesystem disk space usage for mounted filesystems.

Synopsis

syntax
df [OPTION]... [FILE]...

Examples

Show disk usage in human-readable format
df -h
Show with filesystem types
df -hT
Check specific mount point
df -h /home
Check inode usage
df -i

Common options

FlagDescription
-hHuman-readable sizes
-TShow filesystem type
-iShow inode usage
-xExclude filesystem type
--totalShow grand total

About df

The `df` command report filesystem disk space usage for mounted filesystems. System information commands provide insight into hardware, kernel, memory, disk, and user session details.

These are typically the first tools you reach for when diagnosing system problems, capacity planning, or auditing a server's configuration. They work across most Linux distributions without additional packages.

The command accepts 5 commonly used flags shown above, though the full set of options is available in the man page (`man df`). The 4 examples on this page cover typical real-world usage patterns that you can copy and adapt for your own workflows.

Related commands

More System Info Commands

Other commands in the System Info category

Related tools