Linux Clean Logs

From NovaOrdis Knowledge Base
Revision as of 16:40, 3 November 2017 by Ovidiu (talk | contribs)
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-*
cat /dev/null > secure;