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

Re: kill script



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: pgp6eJOYFIDvA.pgp
Description: PGP signature


Reply to: