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 13163Post New Unix Commands Questions
How do I open a port?
What is the command to view process running?
What is the unix command to confirm a remote host is alive or not?
Which unix command lists files/folders in alphabetical order?
What is the significance of the 'tee' command?
What is ‘ps’ command for?
What are awk commands?
Write a command to kill the last background job?
What is the behavioural difference between cmp and diff commands?
What does the command ' $who | sort –logfile > newfile' do?
What is the use of the tee command?
What do chmod command do?
How do I find previous commands in unix?
What is the use of find command in unix?
What is .sh file?