Date: Thu, 13 Jan 2011 00:22:54 -0600 (CST) From: Robert Bonomi <bonomi@mail.r-bonomi.com> To: questions@freebsd.org, reddvinylene@gmail.com Subject: Re: Simple command to reset / clear all logs? Message-ID: <201101130622.p0D6MsVw022049@mail.r-bonomi.com> In-Reply-To: <AANLkTimMvTxsdRXhxzXwjdTDzQ5U7m7kzVc0orGwxM5U@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> From owner-freebsd-questions@freebsd.org Wed Jan 12 10:09:51 2011 > Date: Wed, 12 Jan 2011 17:04:26 +0100 > From: Redd Vinylene <reddvinylene@gmail.com> > To: questions <questions@freebsd.org> > Cc: > Subject: Simple command to reset / clear all logs? > > 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 :-) something like: foreach file in (/var/log/*log) echo "" > $file end maybe ?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101130622.p0D6MsVw022049>