logrotate

Rotates, compresses, and mails system logs. More information: <https://manned.org/logrotate>.

Debian Debian
RUN apt-get update && \ apt-get install -y logrotate
Ubuntu
RUN apt-get update && \ apt-get install -y logrotate
Alpine
RUN apk add logrotate
Arch Arch Linux
RUN pacman -S --noconfirm logrotate
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y logrotate
CentOS
RUN yum install -y logrotate
Fedora
RUN dnf install -y logrotate
Raspbian
RUN apt-get update && \ apt-get install -y logrotate
click the source code to copy install logrotate on any operating system with command-not-found.com