Re: [SLUG] How to use grep

From: Brian Coyle (brian@linuxwidows.com)
Date: Tue Oct 01 2002 - 23:05:06 EDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 01 October 2002 22:27, Russell Hires wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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

- --
Linux - the ultimate Windows Service Pack
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9mmJjER3MuHUncBsRAgEDAJ0RTVIGF51M5PMulbYw7HrTTpFRGwCfQhIo
Cu++BxLXvorKBPtb0V91Gvk=
=kv7W
-----END PGP SIGNATURE-----



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