Re: WORKAROUND Re: Cannot change hostname permanently
Brad Rogers(brad@fineby.me.uk) is reported to have said:
> On Mon, 02 Oct 2006 14:53:04 +0100
> Chris Lale <chrislale@untrammelled.co.uk> wrote:
>
> Hello Chris,
>
> > I still cannot work out how hostname is remembering a name ("earth")
> > that it has not saved in /etc/hostname (which still contains
> > "desktop"). hostname --fqdn is also confused and cannot find a host!
>
> You seem to be under the impression that the command hostname writes to
> the file /etc/hostname. AIUI, that is *not* the case. You'll have to
> alter the file in a text editor.
>
HOSTNAME(1)
Linux Programmer's Manual
HOSTNAME(1)
NAME
hostname - show or set the system's host name
WT
--
Just about every computer on the market today runs Unix, except the Mac
(and nobody cares about it).
-- Bill Joy 6/21/85
_______________________________________________________
Reply to: