Display name different from hostname

Gaddis, Jeremy L. jlgaddis at ivytech.edu
Fri May 25 17:31:12 UTC 2007


-----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.


- -- 
Jeremy L. Gaddis
Network Administrator
812.330.6156 (w)  812.391.0358 (m)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFGVx1dzhrjA9m/OxgRAoNwAJ9kP0RU8EwQzGaMAmzuAANbP4EbfwCgmiLt
7mLpgeuoOZwTv/onTKr0jZk=
=v6K4
-----END PGP SIGNATURE-----




More information about the redhat-list mailing list