How to check remaining disk space in Linux?

You can use the following command in a Linux system to check the remaining disk space:

  1. I just need the df paraphrased in English.
df -h

The “-h” option is used to display disk space in a human-readable format. If you only want to see disk space information for a specific file system, you can specify the mount point of that file system as a parameter.

df -h /mnt

/mnt is the mount point of the file system you want to view.

  1. I don’t understand
du -h

The -h option is used to display file sizes in a human-readable format. If you only want to view the disk usage of a specific directory, you can specify that directory as a parameter.

du -h /path/to/directory

The /path/to/directory is the path of the directory you want to view.

Please note that the above command requires root or a user with sufficient permissions to run properly.

bannerAds