From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 19:23:18 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14DE616A4CE for ; Fri, 27 Feb 2004 19:23:18 -0800 (PST) Received: from msr85.hinet.net (msr85.hinet.net [168.95.4.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3980543D1D for ; Fri, 27 Feb 2004 19:23:17 -0800 (PST) (envelope-from y2kbug@ms25.hinet.net) Received: from sonic.utopia.com (61-227-219-25.HINET-IP.hinet.net [61.227.219.25]) by msr85.hinet.net (8.9.3/8.9.3) with SMTP id LAA19240 for ; Sat, 28 Feb 2004 11:21:43 +0800 (CST) Date: Sat, 28 Feb 2004 09:28:51 +0800 From: Robert Storey To: freebsd-questions@freebsd.org Message-Id: <20040228092851.3f13d412.y2kbug@ms25.hinet.net> In-Reply-To: <03d101c3fd60$07dfefb0$d3a1f4cc@rob> References: <403F69E6.9050701@stevenfettig.com> <03d101c3fd60$07dfefb0$d3a1f4cc@rob> Organization: X-Mailer: Sylpheed version 0.9.5-gtk2-20030906 (GTK+ 2.2.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Hostname in shell (bash)? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2004 03:23:18 -0000 I personally like the following one (because no matter where you are, it will show you the working directory as well as who is logged in). Put this into .bashrc... PS1="\u@\h:\w> " export PS1 regards, Robert