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 unix orphan process?
Does unix still exist?
How do I run a unix script?
What is a shell?
How to get the last word from a line in Unix file?
How to null a file in unix?
Where is unix used today?
Differentiate swapping and paging.
Explain system bootup in unix.
How to copy files from one directory to other in unix?
What do you mean by the protection fault?
What is a regular file in unix?