Display name different from hostname

Stephen Carville stephen at totalflood.com
Fri May 25 22:19:21 UTC 2007


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 at totalflood.com>
Systems Engineer
Land America
1.626.667.1450 X326




More information about the redhat-list mailing list