How to use grep command to list find the records of a file containing 10 different strings?

Submitted by: Administrator
grep 'word1|word2' <filename>
Submitted by: Administrator

Read Online Unix General Job Interview Questions And Answers