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
Disk usage commands
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:
df -h
Example reading node_modules:
du -h node_modules | sort -hr | head -20
We use cookies to understand how visitors use this site and improve your experience. You can accept or decline analytics cookies and change your choice anytime in Cookie settings.