automatic rotation

Truncate Large Text File in UNIX / Linux

by Vivek Gite on February 20, 2010 · 11 comments

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

{ 11 comments }

How do I rotate log files?

by Vivek Gite on April 4, 2006 · 6 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 [...]

{ 6 comments }