Ubuntu – Is it possible to color the prompt in Bash

bashcustomization

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.

Best Answer

Found an easy way to do it:

Uncomment force_color_prompt=yes in ~/.bashrc.