[opensource] Linux Terminal Prompt

Marc Uhrich uhrich.1 at gradsch.ohio-state.edu
Thu Feb 8 15:03:52 EST 2007

I haven't messed with this much, but if you are using the bash shell
.bashrc set the environment variable for the prompt.  If you want to
override it briefly you can modify the environment variable PS1 to make
it whatever you would like.  However, if you want the change to be
persistent you'll have to set this every time you open a new shell (by
modifying the ./bashrc file).  For example, if you want a non colored
prompt with username at host > you would run the command PS1="\u@\H >". 
Linkage-> http://www.gentoo.org/doc/en/articles/prompt-magic.xml
Hope this helps,
Marc Uhrich
Systems Engineer @ OSU Graduate School
247 University Hall, 230 N Oval Mall
Columbus, Ohio  43210
(614) 292-6998

-----Original Message-----
From: opensource-bounces at cse.ohio-state.edu
[mailto:opensource-bounces at cse.ohio-state.edu] On Behalf Of Tobias
Sent: Thursday, February 08, 2007 1:54 PM
To: opensource at cse.ohio-state.edu
Subject: [opensource] Linux Terminal Prompt

Hey all,

Is there a way to change the color of "username at comp:~$"?
It's very annoying when trying to scroll up to see a particular output 
and having to spend most of the time searching to find which lines were 
output lines.

Opensource mailing list
Opensource at cse.ohio-state.edu

More information about the Opensource mailing list