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 shell variable?
What is the first line in a shell script?
What language is bash?
How do scripts work?
How do I set bash as default shell mac?
Where is bash history?
Can we run shell script in windows?
Write a command sequence to find the count of each word?
How do you find out What is your shell?
What is console line?
What is a shell in operating system?
What is $1 in shell scripting?
What is gui scripting?
What is the difference between bash and shell?
What happens on a system call?