Re: Display name different from hostname
- From: Stephen Carville <stephen@xxxxxxxxxxxxxx>
- Date: Fri, 25 May 2007 15:19:21 -0700
Gaddis, Jeremy L. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stephen Carville wrote:Less minor is that when I log onto a machine it displays the slave
name. Is there a way to have the shell prompt display the common
name instead of the hostname?
See /etc/bashrc. The PS1 variable is what you're interested in
changing.
Thank you. I found can set PS1 and PROMPT_COMMAND from the local .bashrc and accomplish what I want.
--
Stephen Carville <stephen@xxxxxxxxxxxxxx>
Systems Engineer
Land America
1.626.667.1450 X326
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- RE: Display name different from hostname
- From: Gaddis, Jeremy L.
- RE: Display name different from hostname
- Prev by Date: Re: rhel5 xen guest installation problem
- Next by Date: Configuring IPW220 on RHEL5
- Previous by thread: RE: Display name different from hostname
- Next by thread: rhel5 xen guest installation problem
- Index(es):