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...

what is the function of grep command?

Answer Posted / kavin

grep is used to filter or search for a pattern in the given
file.

for example
grep student class

will display only the lines that contains the word student
in it.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to use grep command to list find the records of a file containing 10 different strings?

1016


How do I run a whois command?

1100


How do I search for text in vi?

991


What is merge command in unix?

1447


hw will u use awk in replacing cahrs and files

3183


What does sed command do in unix?

1120


What do know about tee command?

1108


What is the general format of unix command syntax?

1799


What are file commands?

1166


Who wrote grep?

1015


What command is used to switching between users in unix?

1030


What is the comma to display different lines that are found when compare two files?

1087


Explain command to display different lines that are found when compare two files?

1109


Is it inbetween or in between?

1002


How can you see the command line history?

1078