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 |
Does apple use unix?
What is the full form of unix operating system?
How do you determine and set the path in unix?
What are directories in unix?
How to create files in unix?
What methodology can be utilized to modify the password in unix?
What does $? Mean in unix?
How is unix different from linux?
What are the four components of the unix file system?
What is home directory in unix?
What does ls mean in unix?
What is .login file in unix?