Organizational Research By

Surprising Reserch Topic

boostr.in questions - Question:Which utility is used to make automate rotation of a log?


logrotate command is used to make automate rotation of log.

Syntax of the command is:
logrotate [-dv] [-f|] [-s|] config_file+
It allows automatic rotation, compression, removal, and mailing of log files. This command is mainly used for rotating and compressing log files. This job is done every day when a log file becomes too large. This command can also be run by giving on command line. We can done force rotation by giving –f option with this command in command line. This command is also used for mailing. We can give –m option for mailing with this command. This option takes two arguments one is subject and other is recipient name.

asked Sep 13, 2013 in LINUX by anonymous
edited Sep 12, 2013
0 votes
18 views



Related Hot Questions



Government Jobs Opening


...