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
Explain ‘library functions’ with respect to unix commands?
What are awk commands?
What is the command to view process running?
What are some command words?
What is the search command in unix?
Which unix command lists files/folders in alphabetical order?
How do I use grep to find a file?
how to sort the content of the file based on numeric values
What is $0 bash?
What is the functionality of a top command?
Which command is used to kill the last background job?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What does awk stand for?
What is the unix command to confirm a remote host is alive or not?
How does pipe () work?