From owner-freebsd-questions Wed Jan 20 10:26:20 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA29053 for freebsd-questions-outgoing; Wed, 20 Jan 1999 10:26:20 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from shemp.palomine.net (shemp.palomine.net [205.198.88.200]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA29043 for ; Wed, 20 Jan 1999 10:26:14 -0800 (PST) (envelope-from cjohnson@palomine.net) Received: (qmail 11522 invoked by uid 1000); 20 Jan 1999 18:26:03 -0000 Date: Wed, 20 Jan 1999 13:26:03 -0500 From: Chris Johnson To: pete collins Cc: questions@FreeBSD.ORG Subject: Re: setting bash prompt Message-ID: <19990120132603.A11506@palomine.net> References: <36A60EFA.641F2136@ocsny.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <36A60EFA.641F2136@ocsny.com>; from pete collins on Wed, Jan 20, 1999 at 12:14:34PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 20, 1999 at 12:14:34PM -0500, pete collins wrote: > i added my dot profile file as below and it works great! > date and everything which i discovered purely by accident! > > PS1="\u@\h \d $ " > SHELL=/usr/local/bin/bash export SHELL > > however where are these commands from \u and \h > i know what they mean but not why or where?? > > how do i add (pwd) to the prompt also so i know which directory i'm currently at? Check the bash man page. Look in the PROMPTING section. Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message