LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Changing the localhost name in RH9 (https://www.linuxquestions.org/questions/linux-software-2/changing-the-localhost-name-in-rh9-194592/)

mosh 06-17-2004 10:16 AM

Changing the localhost name in RH9
 
Hi all,

How can I change the linux machine name "localhost" to any other name by command line ?

Thanks,

Mosh.

csfalcon 06-17-2004 10:21 AM

I think you just have to edit the /etc/hosts file

Quote:

127.0.0.1 localhost <your host name>


All times are GMT -5. The time now is 01:46 AM.