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 use of "grep" command?

Answer Posted / pavankumar

grep is used to matching a pattern in a file...
we can use regular expressions in conjuction with grep.
suppose for example if you want to find the all occurences of
pavan in a file, you can use...
grep pavan *
it searches all files in the current directory files and
returns all those files which contain pavan.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you repeat a command in terminal?

1294


What does grep v grep do?

1126


What is {} in find command?

1156


What is the unix command to confirm a remote host is alive or not?

1281


How do you grep a case insensitive?

1114


What is updatedb?

1092


What does #!/ Bin sh do?

1116


What is command statement?

1241


What is in grep command?

1213


Who invented grep?

1212


Does cp command overwrite files?

1270


What do chgrp command do?

1288


what is the advaantage of each user having its own copy of the shell?

2614


What is the significance of the 'tee' command?

1254


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1358