If you wish to view the disk usage of your Linux system the df command is quite useful. In this article, we’ll list several usages of the Linux df command.
Basic df usage
This will list blocks, used and available disk usage in a human-readable format
df -h
Show inodes with df
df -i
Show total usage
df --total