Breaking Systems For Fun And Profit
Image by MichaelGaida @ Pixabay

Disk Compression

Even though disk space is getting cheaper every year, the price per GiB is still more than zero. Saving disk space by minimizing wasted space should be high on the priorities list for every halfway decent systems administrator.

Running the following command will compress the space used on your root file system. If you have a separate file system for /home consider running the same command for that file system first.

1
find / -xdev -depth -type f -print0 | xz --files0