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 / umakanta

grep -w 'word1|word2' filename

Is This Answer Correct ?    8 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does unix like mean?

860


How to remove certain lines from a file in Unix?

951


How to check the date in unix?

949


What are unix options?

854


Is windows 10 unix based?

883


How do we change file access permissions?

1065


What is unix used for?

902


How do I find a pattern in unix?

898


Discuss briefly about the directory representation in unix.

968


Is unix only for supercomputers?

833


How to find out what processes are running in the background in unix?

908


How do you go to a directory in unix?

833


How to remove the directory in unix?

867


What are the main features of unix?

1408


What is regular file in unix?

841