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
What is used to type command?
What is the significance of the 'tee' command?
How do I search for text in vi?
What is the command to find maximum memory taking process on the server?
What do know about tee command and its usage?
What is unix command?
What is awk command used for?
What command will change your prompt to myprompt?
What is the unix command to confirm a remote host is alive or not?
What does touch command do in unix?
What is the use of find command in unix?
How do I find previous commands in unix?
How do I use grep to find a file?
What does awk stand for?
Explain command to show the space allocation of files?