Hello, one of My Friends is using Centos on the current VPS and not change to another OS. He thinks there are some big cache files that were created there and if that happened, He would like to Clear CentOS Cache Data to free up my storage for my VPS. What is the best way to clear CentOS cache data? Please help, I do Not Have any knowledge about Linux and Centos.
Hello all, i searched this on the internet and found that Trim log file is the one that will help to clean data cache, i followed the below command find /var -name "*.log" \( \( -size +50M -mtime +7 \) -o -mtime +30 \) -exec truncate {} --size 0 \; and found this post( https://medium.com/@getpagespeed/clear-disk-space-on-centos-6-11f966504ff9) and this post, helps me a lot, i follow the step provided here, and now my problem is solved now.