LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Computer name (https://www.linuxquestions.org/questions/debian-26/computer-name-542254/)

dellthinker 03-31-2007 09:30 PM

Computer name
 
Hi all, how would i go about changing the computer name of my debian machine i set during installation?

Dutch Master 03-31-2007 09:52 PM

Pretty simple: become root, then open the file /etc/hostname with an editor. Nano will do, but so do gedit and probably a lot of others as well ;) Change the contents of that file and save it. Reboot and your machine has a new name :)

Quakeboy02 03-31-2007 09:54 PM

Change it in the file /etc/hostname. You might also want to check /etc/hosts. Then, reboot.

cgjones 04-01-2007 12:57 PM

You might also want to check out the man page for the command hostname for more information.


All times are GMT -5. The time now is 03:52 AM.