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 15192Post New Unix Commands Questions
What do chown command do?
How do I run a bash script?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What are grep patterns?
Which command is used to kill the last background job?
What is ctrl d?
What does #!/ Bin sh do?
What is the command to compare two files in unix?
What is the command to find hidden files in the current directory?
What is the unix command to confirm a remote host is alive or not?
How do I search a whole word in vim?
Explain command to display different lines that are found when compare two files?
What is grep and how do you use it?
Enumerate some of the most commonly used network commands in unix?
Who wrote grep?