Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 1997 08:40:40 -0600
From:      Dave Glowacki <dglo@SSEC.WISC.EDU>
To:        "Lefty G." <lefty@area51.stjohns.edu>
Cc:        "Jonathan E. Lyons" <parrothd@midwest.net>, questions@freebsd.org
Subject:   Re: Keeping mutliple machine and telnets straight.... 
Message-ID:  <199711191440.IAA17530@tick.ssec.wisc.edu>
In-Reply-To: Your message of "Tue, 18 Nov 1997 21:16:29 EST." <Pine.LNX.3.93.971118211229.11501A-100000@area51.stjohns.edu> 

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>'

Or more bash-ily:

	export PS1='\u@\h% '

You can even do:

	export PS1='\d \t (\s \v) \u@\h:\w % '

To get a prompt like:

	Wed Nov 19 14:33:10 (bash 2.00) dglo@sweetpea:/tmp %

(I think those are all the special characters...)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711191440.IAA17530>