Last Updated: February 25, 2016
·
2.123K
· irajul

seach multiple string in file using grep

If you want to multiple string in file using grep you can do this using

grep 'string1\|string2'

or using egrep

egrep 'string1|string2'