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

Explain the terms links and symbolic links with respect to unix?

990


Name two paging states for a page in memory?

1053


What is unix buffer cache?

976


What is the use of unix?

978


List a few significant features of unix?

1053


How do you change directories in unix?

967


How to log out in unix?

1001


What is tilde unix?

1027


What is unix language?

904


What is unix operating system explain various components of unix operating system?

895


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

864


What is unix and its features?

1008


Name the data structure used to maintain file identification?

985


Does apple use unix?

901


Is it possible to count number char, line in a file; if so, How?

1155