Date: Tue, 09 Sep 1997 20:29:21 -0500 From: Edwin Culp <eculp@mexcom.net> To: Lee Johnston <ljohnston@cyberworld.demon.co.uk> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Using kill Message-ID: <3415F7F1.45613BCC@mexcom.net> References: <3415A36A.167EB0E7@cyberworld.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Lee Johnston wrote: > > 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??? is would work better kill -TERM `cat /var/run/named.pid` These are the apostrophes for execution. '' are for quoting. You can also do a ps and use the PID (process id) kill -TERM 356 Hope that helps. Start a non critical process and practice:-) Ed > > Thanks > > ------------ > Lee Johnston > ljohnston@cyberworld.demon.co.uk > http://www.cyberworld.demon.co.uk > ---------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3415F7F1.45613BCC>