Date: Sat, 27 May 2000 12:58:25 -0000 From: <housley@thehousleys.net> To: Randall Hopper <aa8vb@nc.rr.com>, stable@FreeBSD.ORG Subject: Re: killall question Message-ID: <200005271258.IAA29766@thehousleys.net>
next in thread | raw e-mail | index | archive | help
Randall Hopper <aa8vb@nc.rr.com> 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 majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005271258.IAA29766>