Randall Hopper <[EMAIL PROTECTED]> said: 

> I have a script I run named "newroot".  I want to kill it with killall.
>         
>     > ps -ax | grep newroot
>      842     1 rhh    /bin/sh /home/rhh/bin/newroot 360
> 
You will have to do something like

kill `ps -ax | grep newroot | sed -e '^[0-9]*'`

Jim




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to