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
Can you enlist some commonly used network commands?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the use of tee command?
What does the md command do?
Why is it called grep?
What are bash commands?
What is s and g in sed command?
How do I use grep to find a file?
What is grep and how do you use it?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
How do I open a port?
What is grep in bash?
What does sed command do in unix?
Which command will print your home directory on screen?
How can you see the command line history?