Basic Grep Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux