LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how do you change the host name? (https://www.linuxquestions.org/questions/linux-software-2/how-do-you-change-the-host-name-49955/)

Culbert 03-15-2003 10:17 AM

how do you change the host name?
 
I'm using Mandrake 9.0 and I was wondering how to change the host name of the computer. I accidently named it incorrectly and now I need to change it. I only installed gnome as it is a file & print server and I wanted to keep the HDD free.

acid_kewpie 03-15-2003 10:30 AM

"hostname newname" in a console

niknah 03-15-2003 10:37 AM

if you want to change it permanently, it's in...
/etc/sysconfig/network
and you may need to change it in /etc/hosts too.

Culbert 03-15-2003 01:09 PM

Thanks! typing it in the command prompt worked perfectly :)


All times are GMT -5. The time now is 12:14 PM.