From owner-freebsd-questions Tue Sep 9 19:36:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA27724 for questions-outgoing; Tue, 9 Sep 1997 19:36:02 -0700 (PDT) Received: from graft.xcf.berkeley.edu (graft.XCF.Berkeley.EDU [128.32.43.209]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA27703 for ; Tue, 9 Sep 1997 19:35:58 -0700 (PDT) Received: (from nordwick@localhost) by graft.xcf.berkeley.edu (8.8.5/8.8.5) id TAA05008; Tue, 9 Sep 1997 19:39:45 -0700 (PDT) Date: Tue, 9 Sep 1997 19:39:45 -0700 (PDT) Message-Id: <199709100239.TAA05008@graft.xcf.berkeley.edu> From: Jason Alan Nordwick MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Lee Johnston Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Using kill In-Reply-To: ljohnston@cyberworld.demon.co.uk on 9/9/1997 to freebsd-questions@FreeBSD.ORG <3415A36A.167EB0E7@cyberworld.demon.co.uk> References: <3415A36A.167EB0E7@cyberworld.demon.co.uk> X-Mailer: VM 6.32 under Emacs 19.34.1 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Lee Johnston, on Tue 9/9/1997, wrote the following: > > Hi > > When I try to kill a process using kill -TERM 'cat /var/run/named.pid' > or similar it won't let. I keep getting the error message: > > No such pid cat /var/run/named.pid > > Is there a way to kill a process with out opening the pid file??? > > Thanks > > ------------ > Lee Johnston > ljohnston@cyberworld.demon.co.uk > http://www.cyberworld.demon.co.uk > --------------------------------- make sure the cat command is in backticks. Jay -- Join the FreeBSD Revolution! mailto:nordwick@xcf.berkeley.edu http://xcf.berkeley.edu/~nordwick