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

Re: hostname and bash prompt



Claudio Bley wrote:
On Mon, 2002-10-21 at 08:14, Sandip P Deshmukh wrote:

hostname:
deshmukh.work


now, my question is, why does my prompt in bash does not show deshmukh.work?

my login prompt is just sandip@deshmukh!


What's your PS1 bash variable set to? Just read 'man bash':

\h     the hostname up to the first `.'
\H     the hostname


thanx - worked like breeze!

-sandip



Reply to: