Linux Clean Logs

From NovaOrdis Knowledge Base
Revision as of 16:48, 3 November 2017 by Ovidiu (talk | contribs) (→‎Operations)
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;