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 zip the file in unix?

979


What is the full form unix?

925


Is windows unix like?

954


What is a parent directory in unix?

869


How to get the n-th field from a Unix command output?

939


How is unix different from linux?

982


Name the different file types available with unix.

863


How to calculate the number of words in a file?

928


How do you kill a process in unix?

888


Which is a form of interprocess communication in unix?

838


How is unix different from windows?

950


How is unix different from other operating system?

850


What are the basic responsibilities of a shell?

1663


Explain file system in unix.

922


How old is unix?

869