What I do on most Unixes is wrote my own 'slay' alias
to auto-lookup the PID and kill it for me.  Be careful with this,
though; it can easily kill the wrong process.  It's probably best
never to run it as root.

alias slay 'kill -9 `ps -efl | grep -v grep | grep !:\* | cut -c15-19`'

The exact value of the cut -c field, and the arguments to ps (-efl, -aux)
may vary from platform to platform, but the rest should be stable.

        --Cathy James

************
[EMAIL PROTECTED]   http://www.linuxchix.org

Reply via email to