Date: Sat, 3 Aug 2002 15:56:41 -0700 (PDT) From: Bill Schoolcraft <bill@wiliweld.com> To: freebsd-questions@FreeBSD.ORG Subject: [kill -1] Re: Two Seemingly Simple Questions Message-ID: <Pine.LNX.4.44.0208031551100.9352-100000@corten8> In-Reply-To: <44r8hfzv4n.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At 3 Aug 2002 it looks like Lowell Gilbert composed: > "MET" <met@uberstats.com> writes: > > > 1. How do you restart inetd.conf without restarting the machine? > > I used to use "kill -HUP <pid>" then one day did a "kill -l" and saw that -HUP was associated to the number "1" so now I just do "kill -1 <pid>" or if you just trying to have some fun.... kill -1 `cat /var/run/inetd.pid` which will do the same thing. (those are backticks on the cat command) Don't always expect to see the deamon's PID there for there are alwasys tarball compile options to put the "*.pid" elsewhere. -- |<--------------------------------72---------------------------------->| Bill Schoolcraft PO Box 210076 -o) San Francisco CA 94121 /\ "UNIX, A Way Of Life." _\_v http://forwardslashunix.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0208031551100.9352-100000>