Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Guys when I log in to Shell Prompt I want to change the text colors to green if its that possible? I do not have any idea about doing it.

share|improve this question
    
Do you want just the shell prompt colour to be changed or all text in the terminal? –  gertvdijk Jul 13 '13 at 10:25

1 Answer 1

up vote 0 down vote accepted

Set up in your .bashrc

export PS1="\[\033[1;32m\]\u\[\033[1;32m\]@\\[\033[1;32m\]\h \[\033[1;32m\]\w \[\033[1;32m\]\$ \[\033[1;32m\]"

the result will be a green prompt :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.