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 are the pros of executing processes in the background?
Is unix the first operating system?
What is the architecture of unix operating system?
What do you understand by the term single user system?
What are special characters in unix?
Which mode executes the fault handler?
How do I grep recursively in unix?
Is unix a network operating system?
What is meant by the term nohup?
How to get the nth word of a line in Unix?
What are the criteria for choosing a process for swapping into memory from the swap device?
What do you mean by unix operating system?
Is used to create ordinary files on any unix system?
What is unix and why it is used?
Name the key features of the bourne shell.