Re: mac address in prompt

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



>> 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@x0-13-xx-xx-xx-xx ~]$ echo $PS1
>> [\u@\h \W]\$
>
> What does "hostname -f" come back with?

[gergoe@x0-13-8f-52-82-28 ~]$ hostname -f
hostname: Unknown host

After this I set hostname with the similarly-named command and now it
works, thanks for the tip.

- Gergely
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux