How to use grep to match multiple strings in the same line?
grep ‘string1\|string2‘ filename
grep -E "string1|string2" filename
Linux command: grep
原文:http://www.cnblogs.com/emanlee/p/7952913.html