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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store