🧀 Learn Linux

Master · Management Services

logrotate: Rotate log files

Syntax

logrotate [-d] configuration

Examples

logrotate -d /etc/logrotate.conf

Usage and sandbox support

Manual reference only

Full documentation ↗

Related commands