Alexander Farber wrote:
> 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 killInteresting trick. But since OpenBSD3.6 you can use pkill and pgrep. # Han

