Log cleaner script

This script will clear the apache logs, cpanel logs and the logs in /var. It will take a zipped backup before clearing logs. #!/bin/bash # Script to Clear Logs echo “Clearing Logs in /var…..” cd /var/log for i in `ls -lSh /var/log|grep -v gz|grep...

Contact Us On WhatsApp