Re: changing linux hostname without rebooting
From: Peter T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 10/09/03
- Next message: William Warren: "Re: Strange Linux <-> Windows Connectivity Problem"
- Previous message: Juha Laiho: "Re: iptables performance"
- In reply to: Tony: "changing linux hostname without rebooting"
- Next in thread: Mattias Honrendgard: "Re: changing linux hostname without rebooting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 9 Oct 2003 21:03:33 +0200
Tony <tonyw@suse.stanford.edu> wrote:
> How can I change the prompt of the linux hostname (REDHAT) without rebooting
The prompt is your PS1 variable. Change it any way you like.
> I already changed /etc/hosts
But why? That doesn't determine your hostname! CHANGE IT BACK!!!!! AT
ONCE!!!
Where do you (and other people) get the WEIRD idea from that changing
/etc/hosts will change your hostname? Does anything tell you so? No?
Will it mess up your networking? Yes. So WHY DO IT?
If you want to change your hostname, change it. Man hostname.
Peter
- Next message: William Warren: "Re: Strange Linux <-> Windows Connectivity Problem"
- Previous message: Juha Laiho: "Re: iptables performance"
- In reply to: Tony: "changing linux hostname without rebooting"
- Next in thread: Mattias Honrendgard: "Re: changing linux hostname without rebooting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|