Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 1997 19:39:45 -0700 (PDT)
From:      Jason Alan Nordwick <nordwick@graft.xcf.berkeley.edu>
To:        Lee Johnston <ljohnston@cyberworld.demon.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Using kill
Message-ID:  <199709100239.TAA05008@graft.xcf.berkeley.edu>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709100239.TAA05008>