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" >