Answer Posted / kavin
grep is used to filter or search for a pattern in the given
file.
for example
grep student class
will display only the lines that contains the word student
in it.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is merge command in unix?
what is the advaantage of each user having its own copy of the shell?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What is rmdir command?
Using unix command how to display no of records in oracle?
What is grep and how do you use it?
What is the difference between grep and grep?
What is the pipe command?
How can we use grep command in unix?
What are the dos commands?
Is ‘du’ a command? If so, what is its use?
Why is awk called awk?
What do chmod, chown, chgrp commands do?
Describe the zip/unzip command using gzip.
What is the use of tee command?