Intermediate Linux & Shell Scripting
Q71 / 100

What is the purpose of "logrotate" in Linux system administration?

Correct! Well done.

Incorrect.

The correct answer is A) It manages the automatic rotation, compression, and removal of old log files to prevent them from consuming excessive disk space, often run periodically via cron

A

Correct Answer

It manages the automatic rotation, compression, and removal of old log files to prevent them from consuming excessive disk space, often run periodically via cron

Explanation

"logrotate" reads configuration files (often in /etc/logrotate.d/) specifying rules for when and how to rotate, compress, and eventually delete log files, helping manage disk usage for applications that continuously write logs.

Progress
71/100