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

How do I run a unix script?

1002


What is difference between find and grep in unix?

1011


What does cd mean in unix?

977


Why was unix invented?

911


What are the features of unix?

1009


Explain the importance of directories in a unix system

1105


What is wild-card interpretation?

1097


What are conditions on which deadlock can occur while swapping the processes?

1172


What are the basic responsibilities of a shell?

1896


What is the difference between nfs 3 and nfs 4?

1109


What is awk sed unix?

1010


What is $path in unix?

1019


What is the architecture of unix operating system?

972


Is darwin unix?

997


What is hardlink and softlink in unix?

1039