From owner-freebsd-questions Tue Nov 18 17:47:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA14108 for questions-outgoing; Tue, 18 Nov 1997 17:47:08 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from andrsn.stanford.edu (root@andrsn.Stanford.EDU [36.33.0.163]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA14095 for ; Tue, 18 Nov 1997 17:47:04 -0800 (PST) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.8.7/8.6.12) with SMTP id RAA14824; Tue, 18 Nov 1997 17:45:42 -0800 (PST) Date: Tue, 18 Nov 1997 17:45:41 -0800 (PST) From: Annelise Anderson To: "Jonathan E. Lyons" cc: questions@FreeBSD.ORG Subject: Re: Keeping mutliple machine and telnets straight.... In-Reply-To: <3.0.3.32.19971118190606.00756e98@midwest.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 18 Nov 1997, Jonathan E. Lyons wrote: > > Hello, > Now that I have 3 FreeBSD machines on my network I've developed a nasty > habbit. I tend to telnet around from machine to machine and sometimes > (well, most of the time)lossing track of where I am. I've noticed on other > linux machines/shells the host name is in the command line...Ie... > > You have new mail. > # > > You have new mail. > hostname-# > > Is this just a different shell or what? Most shells can be configured to display whatever you want in the prompt. Type echo $SHELL to see what shell you've got installed. I think Linux uses bash as a default. You can install bash easily as a port (probably also as a package) on FreeBSD. Another shell where it's pretty easy to get the prompt you want is tcsh, also easy to port. http://www.freebsd.org/tutorials/newuser/newuser.html explains the installation of a new shell and something about setting the prompt. Annelise