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.
[EMAIL PROTECTED] ~]$ echo $PS1
[EMAIL PROTECTED] \W]\$
- Gergely
___
CentOS mailing list
CentOS@centos.org
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.
[EMAIL PROTECTED] ~]$ echo $PS1
[EMAIL PROTECTED] \W]\$
What does hostname -f come back with?
Ralph
pgpevllnoz91n.pgp
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.
[EMAIL PROTECTED] ~]$ echo $PS1
[EMAIL PROTECTED] \W]\$
What does hostname -f come back with?
[EMAIL PROTECTED] ~]$ hostname -f
hostname: Unknown host
After
Gergely Buday wrote:
[EMAIL PROTECTED] ~]$ hostname -f
hostname: Unknown host
After this I set hostname with the similarly-named command and now it
works, thanks for the tip.
You might want to add the correct hostname in /etc/sysconfig/network, so
that the change will survive reboots ...
4 matches
Mail list logo