newbie PS1 config question
Luciano Miguel Ferreira Rocha
strange at nsk.no-ip.org
Thu Jan 29 23:43:35 UTC 2004
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
More information about the fedora-list
mailing list