Skip site navigation (1)Skip section navigation (2)
Date:      29 Dec 1999 13:14:23 +0100
From:      naddy@mips.rhein-neckar.de (Christian Weisgerber)
To:        freebsd-questions@freebsd.org
Subject:   Re: kill -HUP 1
Message-ID:  <84ctuv$l7d$1@bigeye.rhein-neckar.de>
References:  <3.0.5.32.19991229111745.00a31100@relay.alice.it> <9439.946463304@axl.noc.iafrica.com>

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

Sheldon Hearn <sheldonh@uunet.co.za> wrote:

> I'm confused for two reasons:
> 
> 1) Duke's first attempt should have worked,
> 
> 	kill -HUP 1

Presumably it did. Depending on whether and how you changed /etc/ttys,
nothing obvious happens. A newbie might expect some explicit
feedback.

> 2) Duke's second attempt should produce some kind of invalid syntax
>    warning.

Possibly. After sending SIGTERM to init(8), at which point it
becomes moot. I recently mistyped

# kill =HUP 1

The shell complained but proceeded to send SIGTERM to init. Ouch.
Since "kill" tends to be a builtin, different shells may behave
differently in this context.

-- 
Christian "naddy" Weisgerber                  naddy@mips.rhein-neckar.de



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?84ctuv$l7d$1>