[CentOS] domain name display issue in linux pc

Tomasz 'Zen' Napierala zen at allegro.pl
Thu Feb 14 13:05:48 UTC 2008


Thursday 14 February 2008 13:50:30 padmaja.rv at vodcalabs.com napisał(a):
> Hi,
>
>
> Thanks for your response on the kernel switching.I was away and could not
> reply immediately.
>
>
> Right now, I am facing a differentissue. I have to set up DNS server using
> BIND on Centos 4.3. When Itype the hostname on Centos, it shows:
> sipserver.vodcalocal.com
> But the cli prompt has root at sipserver~ meaning only the sipserver part of
> the hostname is displayed. whyis this so? What is the actual hostname then?

Put:
export PS1=[\\u@\\H\ \\W]\\$
In any of your rc files

Regards
-- 
Tomasz Napierała
Systems Architecture Engineer
IT Infrastructure Department
Allegro Team
http://www.allegro.pl/



More information about the CentOS mailing list