From owner-freebsd-stable Thu Jun 6 19:57:30 2002 Delivered-To: freebsd-stable@freebsd.org Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14]) by hub.freebsd.org (Postfix) with ESMTP id 67A8C37B405 for ; Thu, 6 Jun 2002 19:57:25 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lerlaptop.lerctr.org (8.12.3/8.12.3) with ESMTP id g572vOsh002336; Thu, 6 Jun 2002 21:57:24 -0500 (CDT) (envelope-from ler@lerctr.org) Subject: Re: OT: Passing kill a pid-file From: Larry Rosenman To: Patrick Calkins Cc: Stable "(stable@freebsd.org)" In-Reply-To: <9B9CB6555E6BA049BC2B857E7711C24F3F4852@puke.reno.oemsupport.com> References: <9B9CB6555E6BA049BC2B857E7711C24F3F4852@puke.reno.oemsupport.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 06 Jun 2002 21:57:24 -0500 Message-Id: <1023418644.351.12.camel@lerlaptop> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 2002-06-06 at 21:55, Patrick Calkins wrote: > Slightly (ok, extremely) off topic - I know its simple, but I am going nuts > finding it... > how do I pass 'kill' a pid that lives in a file?? I am writing a .sh script > to shutdown one of my daemons, and the pid is in a file... > I keep thinking its something like kill -9 && cat '/bla/bla/my.pid' kill -9 `cat /bla/bla/my.pid` note that the quotes are back ticks. LER > > Patrick > OEMSupport.Com, Inc > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message