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
What is mac default shell?
What is shell application?
Write a script to print the first 10 elements of fibonacci series.
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again
Explain about echo command?
What is the first line in a shell script?
How do I run a script from command prompt?
What is a program shell?
Why are shell scripts used?
What is the difference between bash and shell?
What is web script?
Why is the use of shell script?
How do I debug a shell script?
What are the types of script?
Explain about the slow execution speed of shells?