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 does the “echo” command do?
What do chmod, chown, chgrp commands do?
Which command is used to find whether the system is 32 bit or 64 bit?
How to display no of records in oracle using unix command?
What command will change your prompt to myprompt?
How does the system know where one command ends and another begins?
What do know about tee command and its usage?
What does the command ' $who | sort –logfile > newfile' do?
What is difference between grep and find command in unix?
What do chown command do?
How do I search a whole word in vim?
Can you explain a little bit about command substitution?
What is awk command used for?
What is grep short for?
What are filter commands in unix?