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 happens when you type ls?
Is powershell a language?
What is sh in shell script?
What is basename in shell script?
What is eval in shell script?
How do I stop script errors?
How does ls command work?
Write a shell script to get current date, time, user name and current working directory.
How do you create a shortcut in linux?
What are the disadvantages of shell scripting?
What is another name for a bash shell script that you might see?
What is $1 in shell scripting?
What is shell and shell script?
What are the different types of shell scripting?
What is a shell? · Types of shell · what is shell scripting?