[Gllug] Excluding matches with grep

Nix nix at esperi.org.uk
Wed Feb 4 20:48:52 UTC 2004


On Fri, 30 Jan 2004, dylan at dylan.me.uk mused:
> On Friday 30 January 2004 12:55 pm, Nix wrote:
>> On Sun, 25 Jan 2004, dylan at dylan.me.uk yowled:
>> >                  For example - I don't want martian packets.
>>
>> For this specific case you can switch them off at source:
>>
>> cat 0 > /proc/sys/net/ipv4/conf/all/log_martians
> 
> Indeed - and I have - but they are still there in the past logs...

grep -v? ;}

-- 
`note to the crown prosecution service: Machine guns dont have a
 'stun' setting.' --- mjw
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list