How to use grep to search for multiple options

Posted by michael on Super User See other posts from Super User or by michael
Published on 2010-05-20T04:49:40Z Indexed on 2010/05/20 4:50 UTC
Read the original article Hit count: 231

Filed under:
|

Hi,

How can I use grep to search for line with either 'res' or 'rep'?

i try "grep -e res|rep" or gre -e "rep|rep" but that does not work.

© Super User or respective owner

Related posts about grep

Related posts about linux