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?

Answers were Sorted based on User's Feedback



what is the function of grep command?..

Answer / khemnath chauhan

grep command let us find the desire pattern in given
statements or from contents of file.
SYNOPSIS:
$grep <pettern to search> <file name>
this will find the particular pattern.

Is This Answer Correct ?    9 Yes 0 No

what is the function of grep command?..

Answer / bharath

grep command is used to search a string or a keyword in a
file.
syntax:
grep 'keyword' file

Is This Answer Correct ?    6 Yes 3 No

what is the function of grep command?..

Answer / dhina

Grep will help us to display the particular information from
a file. For example.

grep apple fruitlist.txt

In this case, grep prints all lines containing 'apple' from
the file fruitlist.txt

Is This Answer Correct ?    3 Yes 0 No

what is the function of grep command?..

Answer / 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

More Unix Commands Interview Questions

what is the difference between KILL and KILL -9?

5 Answers   Informatica, Nutanix,


Which command is used to delete all files in the current directory and all its sub-directories?

0 Answers  


What is s and g in sed command?

0 Answers  


What does sed command do in unix?

0 Answers  


How do you grep a case insensitive?

0 Answers  


in unix echo is used for

10 Answers   BFL, BirlaSoft, Patni,


How do I find previous commands in unix?

0 Answers  


What are the general commands in using unix os for a beginner?

0 Answers  


Through which command will redirect output to bOth screen and files at the same time?

3 Answers  


What are some command words?

0 Answers  


what is the function of grep command?

4 Answers  


How will you know who are the users logged in to the system before 15 minutes?

4 Answers   Amazon,


Categories