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 command needs to be used to take the backup?
What is a file basename?
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?
What is the crontab?
Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.
What does sh mean?
What is the first line of a shell script called?
What is bourne shell scripting?
What is echo $shell?
Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.
What are the different types of commonly used shells on a typical linux system?
What is shell scripting?
What's the difference between scripting and coding?
What language is bash?
What is the fastest scripting language?