if grep contains more than one string code example
Example: bash print lines that match any of several words
# Basic syntax:
grep 'word1\|word2\|word3' /path/to/file
# This prints all lines that match word1, word2, OR, word3
# Basic syntax:
grep 'word1\|word2\|word3' /path/to/file
# This prints all lines that match word1, word2, OR, word3