Something like:
grep
-v criteria /path/to/logfile > newlogfile
Then,
mv
newlogfile logfile
killall -HUP syslogd
--
Laurens van Alphen
Keen on dots
-----Original Message-----
From: Craig [mailto:[EMAIL PROTECTED]
Sent: vrijdag 25 april 2003 13:44
To: Debian-ISP
Subject: grep and delete
From: Craig [mailto:[EMAIL PROTECTED]
Sent: vrijdag 25 april 2003 13:44
To: Debian-ISP
Subject: grep and delete
Hi
Guys
I need to grep log
files and delete certain criteria. Any ideas
and how I can do
this ?
Thanks
Craig