[CentOS] mac address in prompt

Gergely Buday gbuday at gmail.com
Tue Jun 10 07:34:36 UTC 2008


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]\$

- Gergely



More information about the CentOS mailing list