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 unix is used?
How do I find a pattern in unix?
How to make a new directory in unix?
Explain piping.
How would you explain a kernel to a non-technical person?
What is difference between unix and windows?
What is unix used for?
How do I search for a grep file in unix?
What is af_unix?
How is unix different from linux?
How to reverse a string in Unix?
In what way the protection fault handler concludes?
What are the types of unix operating system?
Explain the different types of pathnames that are used in unix.
What are positional parameters in unix?