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 shell scripting easy to learn?
What does echo $0 do?
What is the crontab?
how will you find the total disk space used by a specific user?
How do I open the shell in cmd?
How do I run a script on mac?
What are scripts in psychology?
What command needs to be used to take the backup?
What is a scripting language simple definition?
What is the difference between break and continue commands?
What is shell application?
c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l
Is shell script a programming language?
Explain about debugging?
What lives in a shell?