How to set hostname?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I installed FC7, I let it use the installer's default hostname.

I need to change it from a command line, but I can't find any file
under "/etc" that contains the string "new-host-2".

In /etc/sysconfig/network, I have this:
   HOSTNAME=localhost.localdomain

So does anyone know where that string "new-host-2" is coming from?  Is
it just a default that the system will use until I alter
/etc/sysconfig/network to have a hostname other than
"localhost.localdomain"?

Thanks,
Christian


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux