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
- RE: [techtalk] Is there a Kill -8, too? Cathy James
- Re: [techtalk] Is there a Kill -8, too? van little
- Re: [techtalk] Is there a Kill -8, too? Tamara Thompson
- Re: [techtalk] Is there a Kill -8, too? Kelly Lynn Martin
- RE: [techtalk] Is there a Kill -8, too? Cathy James
- RE: [techtalk] Is there a Kill -8, too? Cathy James
- RE: [techtalk] Is there a Kill -8, too? Dakota Surmonde
- Cathy James
