RE: Simple Script issue..??

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bob Elzer
Date:  
To: 'Main PLUG discussion list'
Subject: RE: Simple Script issue..??
would you just rather do a "killall kicker"

do a man on killall



-----Original Message-----
From:
[mailto:plug-discuss-bounces@lists.plug.phoenix.az.us] On Behalf Of wayne
Sent: Wednesday, December 10, 2008 6:43 PM
To: Main PLUG discussion list
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 -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss