LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Change hostname? (https://www.linuxquestions.org/questions/linux-newbie-8/change-hostname-411935/)

Zeno McDohl 02-05-2006 02:02 PM

Change hostname?
 
Okay, I want to change the name of the server. I used hostname, and it changed. For example, bash would show:
zeno@zenorebirth
Which is what I wanted, and it had changed. But then on a reboot, it reverted to the old name.

I want to change the name, but without using netconfig. That's how I used it originally.

teckk 02-05-2006 02:16 PM

http://linuxcommand.org/man_pages/hostname1.html

Zeno McDohl 02-05-2006 02:17 PM

Yes, I read that manual already. It still doesn't explain why the hostname reset on reboot.

Unless what I'm trying to change is the FQDN..?

Netizen 02-05-2006 02:42 PM

and the distribution you are using is.......
and how did you change the name......

If you are using Slackware as it says under your name...then the hostname is set in the /etc/hosts file.


All times are GMT -5. The time now is 02:52 PM.