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 do I search for a file in unix?

877


Was unix the first operating system?

833


What is the symbol in unix?

882


What is meant by the term super user?

832


What is unix mtime?

872


How do we change file access permissions?

1062


Is unix more secure than windows?

801


Which language is used in unix?

858


How to move files from one directory to other in unix?

893


Explain what is standard unix streams ?

921


Define a single-user system.

878


Why was unix created?

879


What is grep family in unix?

877


How is unix different from other operating system?

842


What are the features and benefits of unix?

878