DeveloperBreeze

Tutorials Programming Tutorials, Guides & Best Practices

Explore 149+ expertly crafted tutorials 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:

Finding the Top 10 Biggest Files on an Ubuntu Server

Tutorial August 11, 2024
bash

By following this tutorial, you should be able to efficiently identify the largest files on your Ubuntu server. This information can help you manage disk space and make informed decisions about file storage and deletion.

For further optimization, consider creating a script that automates this process and sends reports to your email or logs the output for regular monitoring.