On Tuesday 01 October 2002 11:05 pm, you wrote:
> > Hey all...
> >
> > I've got a question about grep: how do you use it in an inverse
> > sense?
>
> Use the -v switch...
>
> > 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?
>
> Yup.
>
> $ dmesg | grep -v DENY | more
>
Or this:
$ dmesg | sed s/DENY//
-- R.G. Mayhue r.g.mayhue@verizon.net
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:30:41 EDT