> From owner-freebsd-questi...@freebsd.org Wed Jan 12 10:09:51 2011 > Date: Wed, 12 Jan 2011 17:04:26 +0100 > From: Redd Vinylene <reddvinyl...@gmail.com> > To: questions <questi...@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 ? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"