Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the additional egrep symbols?

Answer Posted / vijesh

-b Precede each line by the block number on which
it was
found. This can be useful in locating block
numbers by
context (first block is 0).

-c Print only a count of the lines that contain
the pat-
tern.

-e pattern_list
Search for a pattern_list (full regular
expression
that begins with a -).

-f file
Take the list of full regular expressions from
file.

-h Suppress printing of filenames when searching
multiple
files.

-i Ignore upper/lower case distinction during
comparis-
ons.

-l Print the names of files with matching lines
once,
separated by NEWLINEs. Does not repeat the
names of
files when the pattern is found more than once.

-n Precede each line by its line number in
the file
(first line is 1).

-s Work silently, that is, display nothing except
error
messages. This is useful for checking the
error
status.

-v Print all lines except those that contain the
pattern.


-x Consider only input lines that use all
characters in
the line to match an entire fixed string or
regular
expression to be matching lines.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

c program to display the information of given file similar to givan by the unix or linux command ls -l

2196


how will you find the total disk space used by a specific user?

1036


What are the advantages of shell script?

1008


Determine the output of the following command: [ -z “” ] && echo 0 || echo 1

978


What is another name for a bash shell script that you might see?

1462


What is the command to find out today's date?

1125


What does it mean to debug a script?

1032


What is the use of a shebang line?

1171


How to check if a directory exists?

1169


How do you create a shortcut in linux?

1173


What is option in shell script?

996


What does $1 mean in bash?

1071


How do I run a bin bash script?

1012


What is sed in shell script?

1028


What is the purpose of scripting?

1058