Re: Display name different from hostname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux