On Wednesday 22 Dec 2004 10:33 pm, Binand Sethumadhavan wrote: > On Wed, 22 Dec 2004 22:04:05 +0530, Devdas Bhagat > > <[EMAIL PROTECTED]> wrote: > > ps aux|grep foo|grep -v grep > > Well, the question was how to go ahead with this when foo = grep :)
I started a 'grep -' in one konsole tab and captured this in another. [EMAIL PROTECTED]:~$ ps aux|grep grep|head --lines=-1 shridhar 31926 0.0 0.1 1676 584 pts/55 S+ 12:44 0:00 grep - Of course, I would assume that needs GNU head but still..:-) Shridhar ------------------------------------------------------- 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
