Windows
Linux
System & Storage
Disk & Storage
Windows fsutil volume diskfree equivalent in Linux
Displays used and available capacity for mounted filesystems.
Windows
→
fsutil volume diskfree
Linux equivalents
df -h
df -h
df -h
Overview
What this command does
Displays used and available capacity for mounted filesystems.
Migration tip:
df -h shows filesystem-wide usage. Use du when you need to identify which directories consume the space.Practical tasks
Common use cases
Show free filesystem space
Displays used and available capacity for mounted filesystems.
df -h
Show all mounted filesystems
df -h /home
Show the filesystem containing /home
df -i
Show inode usage
Ready to run
Copyable Linux commands
Review paths, device names, package names and permissions before running any command.
df -h
df -h /home
df -i
Walkthrough
Examples with explanations
df -h # show free and used disk space
df -h /home # check one filesystem
df -i # check inode capacity
Reference
Common options and variations
| Command or option | Use |
|---|---|
df -h | Show all mounted filesystems |
df -h /home | Show the filesystem containing /home |
df -i | Show inode usage |
Distro differences
Debian/Ubuntu vs Fedora vs Arch
This command is the same on Debian/Ubuntu, Fedora and Arch Linux when the relevant tool is installed.
| Distribution | Package manager / base | Equivalent command | Difference to notice |
|---|---|---|---|
| Debian/Ubuntu | same command | df -h |
Same command on this distribution. |
| Fedora | same command | df -h |
Same command on this distribution. |
| Arch | same command | df -h |
Same command on this distribution. |
Keep learning