DeveloperBreeze

Server Administration Programming Tutorials, Guides & Best Practices

Explore 48+ expertly crafted server administration tutorials, components, and code examples. Stay productive and build faster with proven implementation strategies and design patterns from DeveloperBreeze.

How to view free space on a Linux server

Code August 11, 2024
bash

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        40G   25G   15G  63% /
udev            1.9G     0  1.9G   0% /dev
tmpfs           384M  1.2M  383M   1% /run
/dev/sda2       100G   50G   50G  50% /home
  • Specific Filesystem: To view the space for a specific filesystem, add its path at the end of the command, like so: