Re: How does one permanently change hostname ?

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

 



On Sun, 21 Nov 2004 09:11:49 -0700, Kim Lux <lux@xxxxxxxxxxxxxxxxxxx> wrote:
> I'm doing a lot of sshing these days and it helps if the prompt line
> reflects the computer I am working on rather than just saying
> "localhost".
> 
> How does one permanently display the hostname in the command prompt,
> aside from changing the command prompt itself.
> 
> I've tried using "hostname <newname>" and it works until the machine is
> rebooted, but then it comes back with "localhost".  I can't
> find /etc/hostname either.
> 
> How and where is hostname set and how does one alter it ?
> 

$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=foo.bar.com
GATEWAY=192.168.100.1

-- 
http://vnoss.org/forum/


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

  Powered by Linux