Linux Clean Logs

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Operations

cd /var/log; rm btmp-*; rm cron-*; rm dmesg.old; rm haproxy.log-*; rm maillog-*; rm messages-*; rm secure-*; rm spooler-*; rm wtmp-*; cat /dev/null > secure;