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

What is the use of the command 'ls -x chapter[1-5]' ?

1212


What does the md command do?

1129


How do I run a bash script?

1180


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

1067


How do you grep recursively?

1105


What are the commands in UNIX to list the files in a Directory?

1180


What is command substitution?

1357


What is grep command in unix with examples?

1214


What does the “echo” command do?

1150


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

1126


hw will u use awk in replacing cahrs and files

3241


What is “chmod” command?

1169


What is ‘ps’ command for?

1180


What is the use of the tee command?

1095


Why is it called a shebang?

1179