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

In what way the Fault Handlers and the Interrupt handlers are different?

970


Where is unix operating system used?

915


How to remove the first line/header from a file in Unix?

1054


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

1156


What is hardlink and softlink in unix?

979


Define a single-user system.

944


What is called in unix?

905


For which kind of fault the page is checked first?

955


Why do we need unix shell scripting?

965


What do you mean by unix?

930


What is a filter in unix?

937


What does tr H do in unix?

1041


Which is a form of interprocess communication in unix?

868


What Happens when you execute a program?

1100


What are some common shells and what are their indicators?

1222