According to John Johnson II: While burning my CPU.
>
> I can't seem to figure out how to change the hostname for my computer.
> When I installed Linux (Red Hat 5.1) the install didn't ask me for a hostname
> and so now there is **no** hostname, all I get is (null) in its place. I'm
> using bash
> and it won't recognize the hostname command. What do I do?
2 things to do here, edit /etc/HOSTNAME and enter your hostname, note, only
your hostname nopt the domainname.
the second is to edit /etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=
DOMAINNAME=
GATEWAY=
GATEWAYDEV=
fill in the blanks after the "="
As to why your system wont react to 'hostname' i can ony say, you must be
doing something wrong, try;
'hostname pipo'
Type 'hostname' again, (just hostname) you should then see pipo as hostname.
>
> John Johnson II
>
--
Regards Richard.
[EMAIL PROTECTED]