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
Which command can you use to find the currently running process in unix server?
What does grep v do?
What do know about tee command and its usage?
How do you repeat a command in terminal?
Can you enlist some commonly used network commands?
How do I clear my terminal history?
Enlist some filename manipulation commands in unix.
How can we use grep command in unix?
Which command is used to restrict incoming messages?
Which command is used to copy files?
What is the search command in unix?
Is command prompt unix?
What do chmod command do?
What does touch command do in unix?
Which command is used to create a directory?