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
IBM,
4 13704Post New Unix Commands Questions
What do chmod command do?
Which command is used to restrict incoming messages?
What does grep v do?
Explain mount and unmount command.
Which unix command to make a new directory?
What's a command word?
Differentiate cmp command from diff command.
Explain how to use grep command to list find the records of a file containing 10 different strings?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is command substitution?
What is the significance of the 'tee' command?
What do chgrp command do?
Which unix command lists files/folders in alphabetical order?
What is the function of grep command in unix?
What does #!/ Bin sh do?