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 general format of unix command syntax?
What is command statement?
What does sed command do in unix?
Name the general commands in using unix os for a beginner?
What do chmod, chown, chgrp commands do?
What is a command and examples?
What is s and g in sed command?
Explain ‘library functions’ with respect to unix commands?
Write a command that will display files in the current directory, in a colored, long format.
What do know about tee command?
What are the general commands in using unix os for a beginner?
Name the various commands that are used for the user information in unix.
hw will u use awk in replacing cahrs and files
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Write a command to kill the last background job?