In article <Xns93B6BD2F71CDEwhitesuneapollolv.TakeThisOut@130.133.1.4>,
Peteris Krumins wrote:
>> What are the steps to take to change a hostname on a linux box?
>
> hostname(1) and /etc/HOSTNAME
Well, yes, but that filename does vary by distro. I think Red Hat and
its heirs read it from somewhere in /etc/sysconfig. This:
grep hostname /etc/rc.d/*
will work on any distro with boot scripts in /etc/rc.d. (Which, I
believe, is all of the major ones.) That will show the hostname(1)
command being run.
Really questions such as this belong in a distro-specific forum, because
there might be special tools which do this. Slackware has "netconfig",
for example.
--
/dev/rob0 - preferred_email=i$((28*28+2

)@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply