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 |
Explain about the directory representation in UNIX?
What is unix operating system explain various components of unix operating system?
What is meant by u-area?
What do you understand by the term single user system?
What is difference between ssh v1 and ssh v2?
What are data structures that are used for Demand Paging?
Explain what is inode?
How to get the last word from a line in Unix file?
How to create a blank file in unix?
What is the architecture of unix operating system?
What is the root directory in unix?
A process is running for 1000 times.How to kill all processes except one i.e kill 999 processes?