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 are three main elements of unix operating system?
Explain how do you create special files like named pipes and device files?
I want to invest in learning things that will get me good jobs in future. But wondering if Unix knowledge is something that is a MUST have or is it better to do any Data-warehouse tool (cognos, Qclik view, ETL etc..). Please suggest me.
How to find out what processes are running in the background in unix?
How to remove the first line/header from a file in Unix?
Explain what is standard unix streams ?
What is RC (return code)? What is useful for? Which are the common values?
What is a directory?
Where is unix used today?
How is unix different from windows?
What is the procedure to configure MC/SG Cluster services in HP-UX 11i v3 OS Environment?
How to compare two text files in unix?