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?

Answers were Sorted based on User's Feedback



What are the additional egrep symbols?..

Answer / 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

What are the additional egrep symbols?..

Answer / chandramohan

egrep -v

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Shell Script Interview Questions

How to include comments in your shell scripts?

3 Answers  


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

0 Answers  


c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command

0 Answers  


Explain about login shell?

0 Answers  


HOW TO CREATE 10 USERS IN UNIX(HP-UX) USING SHELL SHELL SCRIPT?

3 Answers   Patni,


What are the advantages of shell scripting?

0 Answers  


write a program to display all the files from the current directory which are created in particular month

6 Answers  


Is scripting and coding the same thing?

0 Answers  


I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?

0 Answers  


write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?

0 Answers   Wells Fargo,


what do u mean by $#,$* in unix programming?

5 Answers   Convergys, TCS,


Is shell and terminal the same?

0 Answers  


Categories