Date: Thu, 13 Jan 2011 02:17:10 +0900 From: Ryuichiro Hara <rhml@kibug.org> To: freebsd-questions@freebsd.org Subject: Re: Simple command to reset / clear all logs? Message-ID: <4D2DE216.6040505@kibug.org> In-Reply-To: <AANLkTimMvTxsdRXhxzXwjdTDzQ5U7m7kzVc0orGwxM5U@mail.gmail.com> References: <AANLkTimMvTxsdRXhxzXwjdTDzQ5U7m7kzVc0orGwxM5U@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, It might be all right to remove all "normal file" logs, though you may want to retain all subdirectories. find /var/log -type f -exec rm {} \; may do. # sorry. I wouldn't do that rough and not tested. # Basically, those are just incremental logs, whose # lines are mostly not referred by running system. (2011/01/13 01:04), Redd Vinylene wrote: > Hi, > > Is there a simple command to reset / clear everything in my /var/log? I've > done a lot of testing, configuring, trial and error and most of my logs are > just full of bullshit and I'd like a fresh start :-) > > Thanks! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D2DE216.6040505>