Linux

df

SafeDisk free space

df -h

Shows used/free space per mount in human units.

Examples

  • df -hHuman-readable usage

Syntax

df -h

Before you run it

Read-only.

Used when you see

Disk is full
1
Check free spaceWhich mount is full?
See the whole flow →
Linux disk health check
4
Check usage and plan a pre-replacement backup
See the whole flow →

Related commands

  • duDirectory size

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store