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 15253Post New Unix Commands Questions
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What is the command to view process running?
What is a bash command?
What is the difference between cat and more command?
What's a command word?
How to use grep command to list find the records of a file containing 10 different strings?
What does grep v do?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
How can we use grep command in unix?
How do I clear my terminal history?
Can you enlist some commonly used network commands?
Which unix command lists files/folders in alphabetical order?
What are filter commands in unix?
What are reported commands?
Which command will print your home directory on screen?