how to use grep command to list find the records of a file
containg 10 different strings
Answer Posted / umakanta
grep -w 'word1|word2' filename
| Is This Answer Correct ? | 8 Yes | 14 No |
Post New Answer View All Answers
How do I run a unix script?
What is difference between find and grep in unix?
What does cd mean in unix?
Why was unix invented?
What are the features of unix?
Explain the importance of directories in a unix system
What is wild-card interpretation?
What are conditions on which deadlock can occur while swapping the processes?
What are the basic responsibilities of a shell?
What is the difference between nfs 3 and nfs 4?
What is awk sed unix?
What is $path in unix?
What is the architecture of unix operating system?
Is darwin unix?
What is hardlink and softlink in unix?