how to find multiple string?
Answers were Sorted based on User's Feedback
Answer / sarvan
Use extended grep command
egrep 'searchstr1 | searchchstr2' file.txt
| Is This Answer Correct ? | 18 Yes | 1 No |
Answer / satyaranjan samal
grep -e 'string 1' -e 'string 2' filename
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / amedela chandra sekhar
fgrep 'searchstr1 | searchchstr2' file.txt
| Is This Answer Correct ? | 9 Yes | 6 No |
What is the difference between a shell variable that is exported and the one that is not exported?
How to remove the first line/header from a file in Unix?
What is the core of unix operating system?
How to know the ip address of user system?
How is windows different from unix?
What is the role of the kernel in unix?
What is difference between unix and windows operating system?
How do I find a pattern in unix?
How to remove the directory in unix?
What is unix directory structure?
What is file structure in unix?
Explain piping.