Answer Posted / sarvan
Use extended grep command
egrep 'searchstr1 | searchchstr2' file.txt
| Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
How zip the file in unix?
What is a shell?
What is unix in simple terms?
What Happens when you execute a program?
Why was unix created?
How to calculate the number of words in a file?
Is it possible to count number char, line in a file; if so, How?
How is unix different from windows?
Discuss briefly about the directory representation in unix.
What are states that the page can be in, after causing a page fault?
What is a superuser?
How would you explain a kernel to a non-technical person?
What is utility unix?
What is dev null in unix?
Does apple run unix?