Bash prompt not displaying FQDN correctly

Kernels & Hardware, configuring network, installing services

Bash prompt not displaying FQDN correctly

Postby Nox » 2006-10-02 14:07

Hello,

For some reason my bash prompt fails to display my FQDN properly when using the \H escape character in '/etc/bash.bashrc', '/etc/profile', '~/.bashrc' or '~/.profile'. It only shows the machines hostname as obtained by 'hostname' or 'hostname -s'

The only way to get it right is with somtething like
Code: Select all
PS1='`hostname --fqdn`'


I don't know why it's doning that (or rather don't). I'm certain that it worked before. Some strange update maybe?

regards,
Nox
 
Posts: 6
Joined: 2006-09-16 16:04
Location: Leiden, The Netherlands

Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable