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 use grep command to list find the records of a file
containg 10 different strings

Answer Posted / siva

try this command

egrep "string1|string2|string3" <filename.extn>

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to null a file in unix?

1172


Describe the term directory?

1443


What is unix shell scripting used for?

923


What is the file in unix?

918


Is darwin unix?

956


What is page fault? Its types?

941


What are the advantages and disadvantages of unix operating system?

1029


What is unix full form?

968


What is the main goal of the Memory Management?

1115


What are the common directory management commands in unix?

1110


How do you delete a file in unix?

988


Is windows unix like?

1007


Is unix portable?

1002


What are new features added in nfs4?

980


What is ‘the principle of locality’?

979