On Wed, 22 Dec 2004, Binand Sethumadhavan wrote:

> On Wed, 22 Dec 2004 11:22:15 +0530, Raj Mathur <[EMAIL PROTECTED]> wrote:
> > Another way of achieving the same effect is:
> > 
> > ps ax | fgrep cron | fgrep -v fgrep
> 
> Heh. This brings up one of my favourite Unix interview questions.
> 
> How do you do the same thing for a (possibly long running) grep
> command? That is, in the example above, instead of cron, how do you
> get exactly one line of output if the process in question were a grep?
> 
> Binand

Ok, so are you going to enlighten us as to the answer ? please ?

thanks,

Sharukh.
-- 
Dr. Sharukh K. R. Pavri.                        Homoeopath, Linuxer.
  The world is coming to and end! Repent and return those library
                               books.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to