historyをlogrotateしてみる。
これで行けるかなー?
# cat /etc/logrotate.d/history
/root/.bash_history {
monthly
rotate 4
}
More than 5 years have passed since last update.
historyをlogrotateしてみる。
これで行けるかなー?
# cat /etc/logrotate.d/history
/root/.bash_history {
monthly
rotate 4
}
Register as a new user and use Qiita more conveniently