automatic rotation

How do I truncate or shrink large text file under UNIX / Linux operating systems?

{ 21 comments }

Q. How do I rotate log files under Linux operating system? A. You need use tool called logrotate, which is designed to ease administration of systems that generate large numbers of log files. It allows automatic rotation, compression, removal, and mailing of log files. Each log file may be handled daily, weekly, monthly, or when […]

{ 13 comments }