Re: newbie PS1 config question

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

 



On Thu, Jan 29, 2004 at 03:35:58PM -0800, Ko Pu wrote:
> Thanks to all, I got it working, I didn't know that you could use ${PWD}, 
> the doc only mentioned \w or \W. But I still couldn't get rid of the ip 
> address, I would like to replace it with the server name and I replace it 
> in my /etc/sysconfig/network/HOSTNAME, but it still shows, any ideas?

Wrong place.

Add a line to the file /etc/sysconfig/network of the following type:
HOSTNAME=myserver.mydomain.net

The change will take place on reboot, but you can apply it manually with
# hostname myserver.mydomain.net

Regards,
Luciano Rocha




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

  Powered by Linux