Hi Nick,

2005/6/28, Nick Holland <[EMAIL PROTECTED]>:
> (note: grepping the output of "ps -ax" is a starting point...but
> remember: sometimes the you will pick up the grep line itself in ps...)

a trick for that problem is to use a (seemingly useless :-) pair of brackets:

     ps -ax | grep 'process_n[a]me'

     ps -ax | awk '/process_n[a]me/ { print $1 }' | xargs kill

     etc.

Regards
Alex

Reply via email to