From mboxrd@z Thu Jan 1 00:00:00 1970 From: Helge Pettersen Subject: Re: Set the prompt. Date: Wed, 3 Nov 2004 20:00:15 +0100 Message-ID: References: <1099507968.4018.12.camel@eparr1> Reply-To: Helge Pettersen Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org Try PS1="\h \w" export PS1 That will do the trick, but it looks like something not so nice. PS1="\h \w $ " is a bit better. :) On 03 Nov 2004 12:53:13 -0600, Edward Parrilla wrote: > Hi all, > I have created this line in my .bash_profile > > PS1="{${HOSTNAME}"':${PWD}}' > export PS1 > > However when I initiate my term session it does not show the host name, > nor the PWD. > What could be wrong? > Regards > Ed > > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >