> kill $( ps ax | awk ' /process-name/ { print $1 }')
> 
> Binand - why run three processes when two will do?

Thumb rule: Don't use grep with awk. ;-)

--amar

--
Amarendra A. Godbole / Microsoft ``Services For UNIX'' / These opinions
are _MINE_.
Falling in love is a lot like dying.  You never get to do it enough to
become good at it.

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to