Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to find multiple string?

Answers were Sorted based on User's Feedback



how to find multiple string?..

Answer / sarvan

Use extended grep command

egrep 'searchstr1 | searchchstr2' file.txt

Is This Answer Correct ?    18 Yes 1 No

how to find multiple string?..

Answer / satyaranjan samal

grep -e 'string 1' -e 'string 2' filename

Is This Answer Correct ?    8 Yes 2 No

how to find multiple string?..

Answer / amedela chandra sekhar

fgrep 'searchstr1 | searchchstr2' file.txt

Is This Answer Correct ?    9 Yes 6 No

how to find multiple string?..

Answer / pree

grep -e 'string1|string2' <filename>

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Unix General Interview Questions

How can you edit a large file without opening it in unix?

0 Answers  


What are drawbacks of ssh v2?

0 Answers  


How to know the information about a file?

0 Answers  


What are system variables in unix?

0 Answers  


What is the best free unix based os?

0 Answers  


What does unix .profile contains?

0 Answers   BPL,


i have one column with data smith john michale the o/p should be smith,john,michale how we do in unix

6 Answers   Wipro,


What are links and symbolic links in UNIX file system?

0 Answers  


What is the use of -l when listing a directory?

0 Answers  


What are the three major components of any unix system?

0 Answers  


What is buffer header unix?

0 Answers  


What unix is mac os based on?

0 Answers  


Categories