[CentOS] Changing hostname?

Niki Kovacs contact at kikinovak.net
Sat Sep 13 09:37:24 UTC 2008

Marcus Moeller a écrit :
> It should look like this:
>       localhost.localdomain    localhost   calimero.local    calimero

I slightly altered it:

[kikinovak at calimero ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.       calimero.local calimero localhost.localdomain localhost

[kikinovak at calimero ~]$ hostname
[kikinovak at calimero ~]$ hostname --fqdn

Wouldn't this be more correct?

More information about the CentOS mailing list