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
What is the comma to display different lines that are found when compare two files?
What is awk used for?
What is the first character of the output in ls l command?
What is “chmod” command?
What command is used to check the current users?
Describe the usage and functionality of the command rm –r * in unix?
What command will change your prompt to myprompt?
What is a command and examples?
What is ctrl d?
hw will u use awk in replacing cahrs and files
What is the use of the tee command?
What does the metacharacter mean?
Is grep faster than awk?
Explain command to show the space allocation of files?
What is the function of grep command in unix?