Or log files. Sure, you can roll them out, using logrotate, or you can just let them build up like most of us do and then delete them. Or you can wipe them clean at random unplanned intervals.
If you do that, then it's a simple command:
sudo truncate *log --size 0
Assuming all of your log files end in "log"
No comments:
Post a Comment