Skip to content
Scatlion
Linux

Linux disk usage

Disk usage commands

1 min read

The df command stands for "disk-free," and shows available and used disk space on the Linux system.

Shows disk space in human-readable format:

TEXT
df -h

Example reading node_modules:

TEXT
du -h node_modules | sort -hr | head -20