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
Can you enlist some commonly used network commands?
What does touch command do in unix?
What do chmod command do?
Describe the zip/unzip command using gzip.
Which command should you use to find the remaining disk space in unix server?
Explain command to show the space allocation of files?
Explain how to use grep command to list find the records of a file containing 10 different strings?
How do I find previous commands in unix?
What is a bash command?
What is the comma to display different lines that are found when compare two files?
Why is grep called grep?
What do know about tee command and its usage?
What does the metacharacter mean?
What is updatedb?
Which unix command lists files/folders in alphabetical order?