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
What can you tell about shell variables?
What is a regular file in unix?
How do I find my unix os version?
What a pipe?
How to get the last word from a line in Unix file?
Why unix terminals are called dummy terminals?
List the different types of files that can be made available with unix?
What are the core concepts of unix
What is unix kernel explain it?
What is called in unix?
Describe file systems in unix?
What is the full form unix?
What unix means?
How do I check disk space in unix?
How the Kernel handles the fork() system call in traditional Unix and in the System V Unix, while swapping?