Use the repeated flag -e. For example,
grep -e foo -e bar myfile.txt
searches for lines in myfile.txt with either foo, bar, or both in them.
Use the repeated flag -e. For example,
grep -e foo -e bar myfile.txt
searches for lines in myfile.txt with either foo, bar, or both in them.