Answer Posted / pavankumar
grep is used to matching a pattern in a file...
we can use regular expressions in conjuction with grep.
suppose for example if you want to find the all occurences of
pavan in a file, you can use...
grep pavan *
it searches all files in the current directory files and
returns all those files which contain pavan.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is sed awk grep?
How to display no of records in oracle using unix command?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is time_t?
Why is awk called awk?
What is awk command used for?
what is the advaantage of each user having its own copy of the shell?
Which unix command to make a new directory?
Name the unix command to find how many days the server has been up.
How do I use grep to search for a file?
What does this command do,"$more readme.txt“?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is .sh file?
What do chmod command do?
How does pipe () work?