Date: Sat, 28 Feb 2004 09:28:51 +0800 From: Robert Storey <y2kbug@ms25.hinet.net> To: freebsd-questions@freebsd.org Subject: Re: Hostname in shell (bash)? Message-ID: <20040228092851.3f13d412.y2kbug@ms25.hinet.net> In-Reply-To: <03d101c3fd60$07dfefb0$d3a1f4cc@rob> References: <403F69E6.9050701@stevenfettig.com> <03d101c3fd60$07dfefb0$d3a1f4cc@rob>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040228092851.3f13d412.y2kbug>