Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to color the prompt ("user@host:~/dir/$") in Bash? Some commands generate a lot of output and it's sometimes hard to find where it started. Coloring would help a lot.

share|improve this question
up vote 16 down vote accepted

Found an easy way to do it:

Uncomment force_color_prompt=yes in ~/.bashrc.

share|improve this answer
That's certainly the easiest way :) – Little Jawa Nov 19 '10 at 7:30
I absolutely overlooked this option in the ~/.bashrc! Thanx anyways! – Ubuntuser May 4 '11 at 10:54

Yes you can.See this link

share|improve this answer

Check :)

It's damn easy to install (click on download in the website and get the deb for ubuntu).

After that just open a terminal and digit bashish to start theming. Close and reopen the terminal and digit

bashish list

to get a list of already built themes.

Have fun :)

share|improve this answer

Your Answer


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.