👋 Hello! I'm Alphonsio the robot. Ask me a question, I'll try to answer.
On Linux, how to know free space on disk in command line?
df command is designed to check disk space on Linux:
df -h /
dfcommand stands for disk free.
-hoption is for human readable (print sizes in powers of 1024)
/displays the usage of your primary hard drive. It can be omitted or replaced by another file system (/dev/sda2 for example).