Simple Script issue..??

Lisa Kachold lisakachold at obnosis.com
Wed Dec 10 18:46:18 MST 2008


Just use:

#pkill $processname

Reference: http://en.wikipedia.org/wiki/Pkill

www.Obnosis.com |  http://en.wiktionary.org/wiki/Citations:obnosis |  (503)754-4452
Catch the January PLUG HackFest!   Kristy Westphal, CSO for the AZ Department of Economic
Security will provide a one hour
presentation on forensics 1/10/09 Noon at UAT.edu.


> Date: Wed, 10 Dec 2008 18:42:54 -0700
> From: waydavis at cox.net
> To: plug-discuss at lists.plug.phoenix.az.us
> Subject: Simple Script issue..??
> 
> ps -A | grep $1 | cut -c1-5 | grep -o [0123456789]* | kill
> 
> 
> WILL NOT WORK.
> 
> I want to run the above script "whack" like this:   whack  kicker
> which should kill the process "kicker"
>   But it chokes at the "kill" part and I do not know what I'm 
> doing.....  and doing wrong  :-)
> 
> Anybody?
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

_________________________________________________________________
Send e-mail faster without improving your typing skills.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20081211/a5763ffe/attachment.htm 


More information about the PLUG-discuss mailing list