Overview - df (disk free space)
What is it?
The df command in Linux shows how much disk space is used and available on your file systems. It lists each mounted file system with details like total size, used space, and free space. This helps you understand storage usage on your computer or server. It is a simple way to check if your disks are running out of space.
Why it matters
Without df, you would not easily know how much storage space is left on your disks. This could lead to running out of space unexpectedly, causing programs to fail or data loss. Knowing disk usage helps you manage files, clean up space, and plan upgrades. It keeps your system healthy and prevents crashes caused by full disks.
Where it fits
Before learning df, you should understand basic Linux commands and the concept of file systems and storage. After mastering df, you can learn related commands like du (disk usage) for folder sizes, and tools for monitoring disk health and performance.