Answer Posted / vasanth
grep: Find lines in a file that match a regular expression
syntax: grep [options] pattern [files]
Useful Options : -v, -l, -L, -c, -n, -b, ,-i
-v Print only lines that donot match the regular expression
-l Print only names of files that contains matching
lines,not the line themseleves
for furthur information
pls ref. linux pocket guide by Daniel J. Barrett (page-71)
| Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
Is bash an operating system?
How do I run a powershell script?
Explore about environment variables?
Is shell a part of kernel?
How important is shell scripting?
Why is it called a shell?
How can I send a mail with a compressed file as an attachment?
What is path variable bash?
What is awk in shell script?
Explain about login shell?
Is shell scripting difficult?
What are the different communication commands available in the shell?
What are the two files of crontab command?
Is bash a shell script?
How can I set the default rwx permission to all users on every file which is created in the current shell?