To see the amount of free disk space, you can use the df
command in Linux.
# Shows the amount of free disk space
df
Once you execute the df
command on the terminal in Linux, you can see an output like below,
![free disk space using the df Linux command](https://res.cloudinary.com/df8e3k5he/image/upload/f_auto,q_20/content/see-free-disk-space-linux/df-command-linux.png)
From the above output you can see the:
Used
space on a particular diskAvailable
space on a particular disk- and
Capacity
used on a particular disk in percentage.
See the above code live in repl.it.
That's all 😃!