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

What is sed awk grep?

1139


How to display no of records in oracle using unix command?

1176


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1251


What is time_t?

1119


Why is awk called awk?

1082


What is awk command used for?

1246


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

2561


Which unix command to make a new directory?

1152


Name the unix command to find how many days the server has been up.

1167


How do I use grep to search for a file?

1062


What does this command do,"$more readme.txt“?

1162


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

1076


What is .sh file?

1193


What do chmod command do?

1233


How does pipe () work?

1104