LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   font color (http://www.linuxquestions.org/questions/linux-general-1/font-color-66646/)

Joey.Dale 06-19-2003 01:27 PM

font color
 
Hi all,

could someone please tell me how to change the font color in run level 3 to green. Thank You.

:newbie:

Joey

fancypiper 06-19-2003 01:52 PM

See the article Prompt magic: Enhancing the system prompt

These are my favorites:

Try this in the user and root .bashrc files for a neat bash prompt with date, time, working directory and color.

user:
Code:

export PS1="\d \@ \[\e[32;1m\]\u\[\e[34;1m\]@\[\e[36;1m\]\H \[\e[34;1m\]\w\[\e[32;1m\] $ \[\e[0m\]"
root
Code:

export PS1="\d \@ \[\e[31;1m\]\u\[\e[34;1m\]@\[\e[36;1m\]\H \[\e[34;1m\]\w \[\e[31;1m\]# \[\e[0m\]"


All times are GMT -5. The time now is 01:55 PM.