Re: quickie UNIX command


Subject: Re: quickie UNIX command
From: Gawain Reifsnyder (gawain@guitar.net)
Date: Thu May 17 2001 - 12:37:21 MDT


At 1:17 PM -0400 on 5/17/01, cdowns wrote:

>the -v option remove the string specified and creates a new file
>without those strings.
>i think this is what you are tring to do.
>example:
>
>evil hacker wants his ipaddress out of a log file so :
>cat /var/log/messages | grep -v "123.123.123.123" >>
>/var/log/messages.new ; mv /var/log/messages.new /var/log/messages
>
>thats it and hes is gone from that log.

So, what are you trying to imply.... ;-)

If I ever become an evil hacker, I'll try and keep that in mind. :-)

Gawain



This archive was generated by hypermail 2a24 : Thu May 17 2001 - 11:50:00 MDT