How to delete all error_log files on a cPanel server

This command will search in all /home/*/public_html directories (also in subdirectories) for error_log files: find /home/*/public_html -type f -name error_log -exec du -sh {} \; Usage example: root@web [~]# find /home/*/public_html -type f -name error_log -exec du -sh {} \;…

Continue ReadingHow to delete all error_log files on a cPanel server