Hi Terry,

> Maybe my memory is faulty, but my recollection of doing this on
> earlier Unix systems, (like Solaris), is that the hostname went into
> the file called hostname (or similar) and that did it (after a
> reboot).

Debian/Ubuntu still have that.

    $ cat /etc/hostname
    orac
    $ hostname
    orac
    $ hostname -f
    orac
    $

Note, the -f output is wrong here, I haven't got it to be correct yet
which is annoying as some programs, e.g. postfix, rightly expect it to
be a fully-qualified domain name (FQDN).

Cheers,
Ralph.


--
Next meeting:  Bournemouth, Tuesday 2011-04-05 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to