From owner-freebsd-questions Wed Jan 20 09:10:48 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA22169 for freebsd-questions-outgoing; Wed, 20 Jan 1999 09:10:48 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from petent.ocsny.com (petent.ocsny.com [204.107.76.50]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA22164 for ; Wed, 20 Jan 1999 09:10:47 -0800 (PST) (envelope-from pcollins@ocsny.com) Received: from ocsny.com (petent.ocsny.com [204.107.76.50]) by petent.ocsny.com (8.8.8/8.8.8) with ESMTP id MAA00651 for ; Wed, 20 Jan 1999 12:14:34 -0500 (EST) (envelope-from pcollins@ocsny.com) Message-ID: <36A60EFA.641F2136@ocsny.com> Date: Wed, 20 Jan 1999 12:14:34 -0500 From: pete collins X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: setting bash prompt References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? and how do i get this prompt to appear in an xterm?? thanks pete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message