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 the four components of the unix file system?
What are unix options?
Differentiate swapping and paging.
What is piping?
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.
What is unix operating system?
What is a unix shell?
What are different types of files in unix?
Does windows use unix?
Why is unix better than windows?
Pipes support half duplex communication. But if we want full-duplex communications we should use two pipes between two processes. Is such situation can leads to deadlock? Write two scenarios that could leads to deadlock in such situations?
Is mac built on unix?