Unix General Question:
Download Questions PDF

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

Answers:

Answer #1
grep 'word1|word2' <filename>

Answer #2
grep 'word1|word2' <filename>

Download Unix General Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between NFS 3 and NFS 4? What are new features added in NFS4?What are the general Commands in using Unix OS for a beginner?