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

Can you enlist some commonly used network commands?

1049


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

1010


What is the use of tee command?

1071


What does the md command do?

1070


Why is it called grep?

968


What are bash commands?

1090


What is s and g in sed command?

1054


How do I use grep to find a file?

1055


What is grep and how do you use it?

1044


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

1139


How do I open a port?

1031


What is grep in bash?

1004


What does sed command do in unix?

1113


Which command will print your home directory on screen?

1028


How can you see the command line history?

1073