Knowing how to check the free space on your Linux system is an important system maintenance task. The df command is a powerful tool that can be used to display the amount of disk space used and available on your system. It can also be used to display other information, such as the file system type and the mount point.
The df command is typically used with the -h option, which makes the output more human-readable by displaying the sizes in gigabytes (GB) and megabytes (MB). For example, the following command will display the free space on your system: