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
How do you repeat a command in terminal?
What does grep v grep do?
What is {} in find command?
What is the unix command to confirm a remote host is alive or not?
How do you grep a case insensitive?
What is updatedb?
What does #!/ Bin sh do?
What is command statement?
What is in grep command?
Who invented grep?
Does cp command overwrite files?
What do chgrp command do?
what is the advaantage of each user having its own copy of the shell?
What is the significance of the 'tee' command?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?