← All commands
Topic hub System & Storage
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
Debian/Ubuntu same command
df -h
Fedora same command
df -h
Arch same command
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 optionUse
df -hShow all mounted filesystems
df -h /homeShow the filesystem containing /home
df -iShow 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.

DistributionPackage manager / baseEquivalent commandDifference 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

Related System & Storage commands