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 / thajudeen
answer is E none of the above as it will search the pattern
as a single pattern "first second third"
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Describe the usage and functionality of the command rm –r * in unix?
What is the command to find maximum memory taking process on the server?
Which command is used to copy files?
What do chgrp command do?
What is updatedb?
Write a command that will display files in the current directory, in a colored, long format.
Who command in unix operating system?
Who command in unix?
Describe the zip/unzip command using gzip.
Why is it called grep?
Are you in or at the office?
What is {} in find command?
What do know about tee command?
What is ctrl d?
Can you enlist some commonly used network commands?