Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 1999 11:17:45 +0100
From:      Stefano Riva <sriva@alice.it>
To:        Sheldon Hearn <sheldonh@uunet.co.za>
Cc:        "Duke Normandin" <01031149@3web.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: kill -HUP 1 
Message-ID:  <3.0.5.32.19991229111745.00a31100@relay.alice.it>
In-Reply-To: <8121.946460631@axl.noc.iafrica.com>
References:  <Your message of "Wed, 29 Dec 1999 10:37:34 %2B0100."             <3.0.5.32.19991229103734.00a376c0@relay.alice.it>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11.43 29/12/99 +0200, you wrote:
>>   You're sending a TERM signal (kill's default) to PID 1. The "-1" argument
>> must be placed before PID(s);
>Actually, Duke's using -l (minus ell), not -1 (minus one).

  Sorry; they look exactly the same with the font I'm using.

>>   Next time try "man kill". :-)
>Not very helpful advice, given that the csh shell has its own builtin
>kill command.
>Personally, I'm just as confused as Duke is over this one. :-)

  If you read the kill(1) man page, you see that. There's even a "see
csh(1) for details". If you're someone who needs help on a command,
probably not an expert, maybe you don't know about kill being also a csh
built-in. I was saying, with a smile, to first look at the man page of the
command you've trouble with... usually you find at least a pointer to the
right page(s).

  I must be missing something here... "-l" lists all signals, but in that
case it's the only argument of kill: "kill -l". If you place it after a
number, kill sends the default TERM signal to that PID and ignores "-l".
This is what I understand reading csh(1) and this is what I get on a
3.4-STABLE box here.
  Why are you confused? I'm a bit tired today, but not too much, I hope! ;-)

---

  Stefano Riva
  Systems & Network Administrator
  Informazioni Editoriali I.E. Srl
  Voice +39-02283151, Fax +39-0228315900



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?3.0.5.32.19991229111745.00a31100>