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 15180Post New Unix Commands Questions
How do I delete files from command prompt?
Explain command to display different lines that are found when compare two files?
What is the behavioural difference between cmp and diff commands?
Why is it called grep?
Why is it called a shebang?
What does grep v grep do?
Which command will print your home directory on screen?
What does grep v do?
What is the comma to display different lines that are found when compare two files?
How to use grep command to list find the records of a file containing 10 different strings?
Which command can you use to find the currently running process in unix server?
Write a command to display a file’s contents in various formats?
What are the unix commands?
What is the command to find maximum memory taking process on the server?
What is the use of awk command in unix?