[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kill script



this is bad, i'm replying to my own message.  i have the problem
solved.  thanks to Weasel.

At 09:56 AM 2/23/00 -0800, David Wiard wrote:
>how about a csh/ksh version?  this is for work on HPUX, but we
>don't have bash.
>
>At 06:44 PM 2/23/00 +0100, Peter Palfrader aka Weasel wrote:
>>Hi David!
>>> function mykillall { 
>>>   kill -9 `ps -e | 
>>>     grep bash |
>>>     grep -v grep |
>>>     awk ' { print $1 } '`
>>> }
>>
>>replace bash with $1 :)  and then put this into your .bash{rc,_profile}
>>
>>
>>-- 
>>Weasel                            http://www.cosy.sbg.ac.at/~ppalfrad/
>>PGP/GPG encrypted messages prefered. See my site or finger -l ppalfrad
>>----------------------------------------------------------------------
>>          Yes means No and No means Yes. Delete all files [Y]?
>>
>>
>>Attachment Converted: "f:\eudora\attach\Re kill script3"
>>
>
>
>-- 
>Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org <
/dev/null
>

--
dave wiard (dave@srn.com)

The light that burns twice as bright burns half as long.


Reply to: