How to Check Disk Space in Linux: Commands, Tools, and What the Output Means
Running out of disk space on a Linux system can cause everything from failed software installs to a completely unresponsive server. Knowing how to check disk space — and how to read what you're looking at — is one of the most practical skills for anyone working with Linux, whether you're managing a home desktop or a production server.
The Core Command: df
The df command (disk free) is the standard tool for checking disk space in Linux. Run it in a terminal like this: