The logrotate
utility is excellent at managing logs. It rotates, compresses, and mails system logs. This cheat sheet contains configuration options and a handy example. Keep log files fresh with this logrotate
command cheat sheet.
File
What to read next