Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Okay, I admit: this may be a noob question, but, I want to make sure, so here goes.
I"ve sniffed on the hard drive (yea' I know, I need a hobby ) and found I plunged from 1.4Gb to ... 520Mb worth of filesystem space . What gives? I've got ... 670Mb worth of log files . Now, I know (duh) I can just delete the stuff, but (here's the reason of my question) is'nt there a more elegant way to do this? A util to clean out logs or something?
For anyone with the same log file issues as I had, the logrotate comand is the best way around (as suggested here by some wiser ones ) so a complete command as follows should do, exec as Root:
Quote:
logrotate -f -v /etc/logrotate.conf
Assuming your logrotate.conf is in /etc, of course.
@catkin - indeed, logrotate is a dayly event here too, but...I panic quickly and then I need to resolve things quickly, so hence the tip above...
@rich c - bleachbit? Never heared of that, thanks, lemme look into that
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.