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
In what way the Fault Handlers and the Interrupt handlers are different?
Where is unix operating system used?
How to remove the first line/header from a file in Unix?
Is it possible to count number char, line in a file; if so, How?
What is hardlink and softlink in unix?
Define a single-user system.
What is called in unix?
For which kind of fault the page is checked first?
Why do we need unix shell scripting?
What do you mean by unix?
What is a filter in unix?
What does tr H do in unix?
Which is a form of interprocess communication in unix?
What Happens when you execute a program?
What are some common shells and what are their indicators?