Master · Management Services
logrotate: Rotate log files
Syntax
logrotate [-d] configurationExamples
logrotate -d /etc/logrotate.confUsage and sandbox support
For review only: practice in a real Linux environment, this sandbox does not execute this command.
This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.
Related commands
systemctlQuery and Management systemd ServicesjournalctlView service logsaptManage Debian/Ubuntu packagescrontabSchedule periodic tasksdockerManage containersserviceManage traditional serviceshostnamectlQuery or set hostnametimedatectlQuery time and time zoneloginctlQuery login sessionatSchedule one-time tasksdpkgQuery Debian packageapt-cacheQuery APT package metadataapt-getManage APT package in scriptdnfManage Fedora packagesyumManagement RPM series software packagesrpmQuery RPM packagepacmanManage Arch packagesapkManage Alpine packagespodmanManage containers and imageskubectlManage Kubernetes resourcesnginxCheck Web service configuration