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

None of the option will work.

Because "grep first second third" this command will search
for the same pattern and but it should grep "first second
third" instead of grep first second third.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does 'mkdir' command do in UNIX?

1320


Why is shebang used?

1138


How do I run a whois command?

1160


Explain the steps that a shell follows while processing a command.

1244


What are the unix commands?

1101


What happens when we execute a unix command?

1150


Name the various commands that are used for the user information in unix.

1093


Can you explain a little bit about command substitution?

1119


What is the difference between cat command and more command?

1216


How do I clear my terminal history?

1184


Which unix command lists files/folders in alphabetical order?

1767


Is it inbetween or in between?

1071


What do know about tee command and its usage?

1193


Which command is used to find whether the system is 32 bit or 64 bit?

1154


Write a command that will display files in the current directory, in a colored, long format.

1236