2005-10-27, 04:17 PM
how can i change default colors of shell i mean i want that [root@wiz ~]# to apper with other colors (yellow or red)
configure shell
|
2005-10-27, 04:17 PM
how can i change default colors of shell i mean i want that [root@wiz ~]# to apper with other colors (yellow or red)
that particular bit of your shell is the PS1 enviromental variable... you can set it like this: Code: export PS1="\[\033[01;33m\]\u@\h\[\033[01;34m\] \w $\[\033[00m\] " Thats yellow with blue :) If you like it then add the entry to the bottom of your "~/.bashrc" file.. Also I have a short howto hidden here ;) [/url][url=http://www.abdn.ac.uk/~fac075/?howto]http://www.abdn.ac.uk/~fac075/?howto Note that \033 == ^[ .. i'll need to add that to my howto... Quote:that particular bit of your shell is the PS1 enviromental variable... you can set it like this: So how do I make my text GREEN :)!!
2006-03-07, 10:03 PM
Quote:So how do I make my text GREEN :)!! 32m = green .. so Code: export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\] \w $\[\033[00m\] " thats green and blue |
« Next Oldest | Next Newest »
|