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 do you understand by the term filters?
What do you understand by the term kernel?
List the distributions of unix.
How old is unix?
What does ls lrt in unix?
How do we change file access permissions?
Is windows built on unix?
How do you kill a job in unix?
Does ios use unix?
Is windows unix?
What is a parent directory in unix?
What is unix in simple terms?