Basic Grep Question

Dan Track dan.track at gmail.com
Tue Mar 13 15:42:37 UTC 2007


Hi

Could someone please tell me how I can grep for two or more different
words in one command instead of piping them through.

e.g I don't want to do

cat /tmp/file | grep -v cat | grep -v grey

I'd like to run that from one grep command.

Many Thanks
Dan




More information about the fedora-list mailing list