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 |
How can you edit a large file without opening it in unix?
What are drawbacks of ssh v2?
How to know the information about a file?
What are system variables in unix?
What is the best free unix based os?
What does unix .profile contains?
i have one column with data smith john michale the o/p should be smith,john,michale how we do in unix
What are links and symbolic links in UNIX file system?
What is the use of -l when listing a directory?
What are the three major components of any unix system?
What is buffer header unix?
What unix is mac os based on?