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 15279Post New Unix Commands Questions
Is ‘du’ a command? If so, what is its use?
What are awk commands?
What difference between cmp and diff commands?
What is {} in find command?
What is a bash command?
How do I run a bash script?
Who invented grep?
Which command is used to find whether the system is 32 bit or 64 bit?
How can you see the command line history?
What is the use of cut command in unix?
How do I use grep to find a file?
What is grep and how do you use it?
what is the advaantage of each user having its own copy of the shell?
What does pipe () return?
What are grep patterns?