From owner-freebsd-questions Wed Dec 29 2:17:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mercurio.ie-online.it (dns.ie-online.it [194.133.148.8]) by hub.freebsd.org (Postfix) with ESMTP id 216D414C28 for ; Wed, 29 Dec 1999 02:17:23 -0800 (PST) (envelope-from sriva@alice.it) Received: from attila.ie-interna.it (host1.ie-online.it [194.133.148.10]) by mercurio.ie-online.it (8.9.3/8.9.3) with ESMTP id LAA36169; Wed, 29 Dec 1999 11:17:22 +0100 (CET) (envelope-from sriva@alice.it) Received: from stefano (stefano.ie-interna.it [192.168.0.33]) by attila.ie-interna.it (8.9.3/8.9.3) with SMTP id LAA97066; Wed, 29 Dec 1999 11:17:21 +0100 (CET) (envelope-from sriva@alice.it) Message-Id: <3.0.5.32.19991229111745.00a31100@relay.alice.it> X-Sender: riva@relay.alice.it X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 29 Dec 1999 11:17:45 +0100 To: Sheldon Hearn From: Stefano Riva Subject: Re: kill -HUP 1 Cc: "Duke Normandin" <01031149@3web.net>, freebsd-questions@FreeBSD.ORG In-Reply-To: <8121.946460631@axl.noc.iafrica.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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