Friday, November 24, 2006

How to Clear syslog Log Files in Linux

This story has moved to NerdBoys.com. Please read this story at its new location.

6 comments:

gunabalans said...

its great man
good shortcut to clear the logs
thanks

Kim said...

lmao.... I have been looking everywhere for this... Thanks

george said...

nice one, i was using /dev/null > logfile but this is so much better

Anonymous said...

Hi Joe,
I need one more small info..
How do you programatically clear a local0.log remotely from a windows system?

Anonymous said...

@ Anonymous, use SSH to login via Putty or Pterm, you should always have sshd configured to refuse root login, the best method is to login as your normally would and su or sudo as root!

Doman said...

Great and simple! Thanx!