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...

The command
grep first second third /usr/you/myfile

a) prints lines containing the words first,
second or third from the file /usr/you/myfile
b) searches for lines containing the pattern
first in the files
second, third, and /usr/you/myfile and prints them
c) searches the files /usr/you/myfiel and
third for lines containing
the words first or second and prints them
d) replaces the word first with the word
second in the files third and /usr/you/myfile
e) None of the above

Answer Posted / apurba

Answer is B (searches for lines containing the pattern
first in the files second, third, and /usr/you/myfile and
prints them)

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1128


What is in grep command?

1169


How do I search for a file in unix command?

1021


What does the command '$ls | wc –l > file1' do?

1233


What do chmod command do?

1222


Why is grep called grep?

1297


What are reported commands?

1129


What is the use of awk command in unix?

1128


What are bash commands?

1163


Which command is used to kill the last background job?

1333


What is “chmod” command?

1174


Which unix command to make a new directory?

1144


Which command will print your home directory on screen?

1081


What does find command return in unix?

1156


What is the difference between grep and grep?

1132