Re: [SLUG] How to use grep

From: R P Herrold (herrold@owlriver.com)
Date: Tue Oct 01 2002 - 22:45:03 EDT


On Tue, 1 Oct 2002, Russell Hires wrote:

> I've got a question about grep: how do you use it in an inverse sense? IOW,
> if I'm looking at dmesg output, I see a lot of "DENY" type messages. I want
> to filter those out, and see what's left. Can I use grep to do that? Or
> should I use something else?

[root@couch bin]# cat - << END | grep -v ^#
> # will not show
> shows
> END
shows
[root@couch bin]#



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:30:21 EDT