ShellHacks
Command-Line Tips and Tricks

logrotate

  • Blog

Logrotate: Force Log Rotation

Posted on November 27, 2017November 27, 2017by admin

Normally, log rotation in Linux is handled by daily cron job. The default configuration file is /etc/logrotate.conf and service or server specific configurations are stored in /etc/logrotate.d directory. Sometimes it needs to force rotation of some files manually. Below you will find how to debug and force logrotate manually.

Read More
2 Comments

Online Tools

  • Base64 Decode
  • Base64 Encode

Tags

access-control anonymity ansible apache archive arduino artifactory aws bash boot cmd command-line curl dns docker encryption git gitlab java jenkins kubernetes linux macos mail mongodb mysql network openssl password pdf php powershell prometheus python raspberry pi ssh sublime text telegram telnet text-processing tor tsm windows wordpress yum
  • Telegram
  • Twitter
  • RSS
Privacy
Copyright © 2011-2022 | www.ShellHacks.com