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

grep 'word1|word2' <filename>

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does a pipe(|) do?

867


Differentiate between paging and swapping?

881


What is unix language?

872


Does ios use unix?

938


What is the home directory in unix?

904


What is meant by u-area?

836


Name the key features of the bourne shell.

870


What is alias mechanism? Explain.

946


What is unix operating system and its features?

884


Explain about the directory representation in UNIX?

910


What is delayed write in unix?

906


How to know the information about a file?

931


Define a process group.

884


What is unix environment?

907


What is Thread dump in unix?

967