From: "Scott Taylor" Subject: Re: Set the prompt. Date: Wed, 3 Nov 2004 11:12:33 -0800 (PST) Message-ID: <3983.192.168.99.70.1099509153.squirrel@192.168.99.70> References: <1099507968.4018.12.camel@eparr1> <3960.192.168.99.70.1099508659.squirrel@192.168.99.70> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: <3960.192.168.99.70.1099508659.squirrel@192.168.99.70> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: Linux_admin Scott Taylor said: > > Edward Parrilla said: >> >> PS1="{${HOSTNAME}"':${PWD}}' >> export PS1 > > Try: > > man bash Look for PROMPTING /PROMTING > I get: > PS1="\h:\W " Sorry, that should be lower case 'W' "\h:\w " to get a full PWD with ~/ to represent your home directory, but it gets very long that way. -- Scott