[CentOS] claiming unsused space back

Sat Jul 29 10:11:33 UTC 2017
Miguel González <miguel_3_gonzalez at yahoo.es>


 I´m running a CentOS server in a VPS. Backups of the VPS take quite
much space if I don´t claim unused space.

 Currently I´m using dd if=/dev/zero of=/mytempfile and remove that file
to claim that unused space. Any automatic way of doing a similar thing
in CentOS? I have googled for it but I have only found Debian commands.

 Thanks in advance!