Re: \H in PS1 adds the hostname without the domain to the prompt

2013-06-12 Thread Greg Wooledge
On Wed, Jun 12, 2013 at 07:37:09AM +0200, Sascha Gaspar wrote: >The \H in PS1 adds the hostname without the domain to the prompt. >According to the man page \h outputs the hostname up to the first `.' >and \H outputs the the hostname. I think that should be the FQDN? We

\H in PS1 adds the hostname without the domain to the prompt

2013-06-12 Thread Sascha Gaspar
25 10:12:13 CEST 2013 x86_64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz GenuineIntel GNU/Linux Machine Type: x86_64-pc-linux-gnu Bash Version: 4.2 Patch Level: 45 Release Status: release Description: The \H in PS1 adds the hostname without the domain to the prompt. Acc