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 does the kernel differentiate device files and ordinary files?
What is a unix file?
Explain superblock in unix.
Elucidate on the different ids used in the unix process?
What is the home directory in unix?
Why was unix created?
Explain how and when a DNS request is solved when a user tries to surf to the site www.abcdeg.in .Assume the user machine uses a local name server and sits on another network other than www.abcdef.in.
Is android unix based?
Explain pid.
In what way the Fault Handlers and the Interrupt handlers are different?
What is the command to connect to remote terminals
What are the basic responsibilities of a shell?
Is unix the first operating system?
What is difference between unix and windows?
Is mac unix based?