To see the free disk space on Linux just use the command df . df means “disk free“, and serves to display the free and available disk space on Linux systems in the terminal. To show disk space in human-readable format add -h (df -h), and then you will see the space listed in MB and GB.

With this terminal command you can see the free disk space of your computer with Linux operating system, or of your server/host via SSH:

-df -h

In the example in the following image the same terminal command was used in Putty for Windows system, via SSH to list the free space of a server with Debian system:

In the case of the example the main partition /dev/sda1 of 99 GB, has 51 GB used, and 44 GBs available, with a calculation of 54% used. As for the other partitions we can understand: