Re: [EXIM] eximstats-html

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ben Smithurst
Dátum:  
Címzett: Paul Walsh, Tibor Koleszar, mbaker, exim-users
Tárgy: Re: [EXIM] eximstats-html
Mark Baker wrote:

> On Tue, Mar 16, 1999 at 12:10:02PM -0000, Paul Walsh wrote:
>
>> had a look at the code. I presume "hostname -f" on some UNIX variants
>> gives the hostname.
>
> Specifically, it gives the fully qualified hostname. Hostname on its own
> gives an unqualified name.


Not here.

$ hostname
scientia.demon.co.uk

$ hostname -f
hostname: illegal option -- f
usage: hostname [-s] [name-of-host]

>> $hostname = `uname -n`;
>
> uname -n also gives the unqualified name.


Not on FreeBSD; it does the same as `hostname`. `hostname -s` gives the
unqualified name.

--
Ben Smithurst
ben@???

send a blank message to ben+pgp@??? for PGP key

--
*** Exim information can be found at http://www.exim.org/ ***