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 merge command in unix?

1514


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

2561


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1575


What is rmdir command?

1115


Using unix command how to display no of records in oracle?

1167


What is grep and how do you use it?

1118


What is the difference between grep and grep?

1137


What is the pipe command?

1197


How can we use grep command in unix?

1218


What are the dos commands?

1267


Is ‘du’ a command? If so, what is its use?

1155


Why is awk called awk?

1083


What do chmod, chown, chgrp commands do?

1294


Describe the zip/unzip command using gzip.

1163


What is the use of tee command?

1171