[CentOS] mac address in prompt

Ralph Angenendt ra+centos at br-online.de
Tue Jun 10 09:12:12 UTC 2008


Gergely Buday wrote:
> Hi there,
> 
> for some reasons bash writes out my host's mac address as a result of
> including \h in PS1. Do you know why? This was not always so.
> 
> [gergoe at x0-13-xx-xx-xx-xx ~]$ echo $PS1
> [\u@\h \W]\$

What does "hostname -f" come back with?

Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20080610/12fa66d7/attachment.sig>


More information about the CentOS mailing list