how to use grep command to list find the records of a file
containg 10 different strings
Answer Posted / siva
try this command
egrep "string1|string2|string3" <filename.extn>
| Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
How zip the file in unix?
What is the full form unix?
Is windows unix like?
What is a parent directory in unix?
How to get the n-th field from a Unix command output?
How is unix different from linux?
Name the different file types available with unix.
How to calculate the number of words in a file?
How do you kill a process in unix?
Which is a form of interprocess communication in unix?
How is unix different from windows?
How is unix different from other operating system?
What are the basic responsibilities of a shell?
Explain file system in unix.
How old is unix?