Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 1997 21:16:29 -0500 (EST)
From:      "Lefty G." <lefty@area51.stjohns.edu>
To:        "Jonathan E. Lyons" <parrothd@midwest.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Keeping mutliple machine and telnets straight....
Message-ID:  <Pine.LNX.3.93.971118211229.11501A-100000@area51.stjohns.edu>
In-Reply-To: <3.0.3.32.19971118190606.00756e98@midwest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok, it at depends what your PS1 variable is set to.. In bash type in
"set|more" and take note of the PS1 variable..

Then try

export PS1='$HOSTNAME>'

or better yet

export PS1='$USERNAME@$HOSTNAME>'

-Lefty

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?
> 
> 
> Thanks!
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.93.971118211229.11501A-100000>