On Wed, 22 Dec 2004 01:07:32 -0500
Binand Sethumadhavan <[EMAIL PROTECTED]> wrote:


> 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?

ps ax | grep grep | grep -v "grep grep" ?

-- 
Chandrashekar Babu                       
http://www.chandrashekar.info/



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