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
What does unix like mean?
How to remove certain lines from a file in Unix?
How to check the date in unix?
What are unix options?
Is windows 10 unix based?
How do we change file access permissions?
What is unix used for?
How do I find a pattern in unix?
Discuss briefly about the directory representation in unix.
Is unix only for supercomputers?
How to find out what processes are running in the background in unix?
How do you go to a directory in unix?
How to remove the directory in unix?
What are the main features of unix?
What is regular file in unix?