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!
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to