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 14087Post New Unix Commands Questions
What does the md command do?
What do chmod command do?
What are the dos commands?
What happens when we execute a unix command?
What is the use of finger command?
What does the command '$ls | wc –l > file1' do?
Why is shebang used?
How do I run a bash script?
What is the use of sed command in unix?
Explain command to view process running?
What will the following command do?
Describe the usage and functionality of the command rm –r * in unix?
What is updatedb?
Which unix command lists files/folders in alphabetical order?
What is ctrl d?