As I am running commands in the terminal, some times when the resulted log is larg, I get lost looking for the command line it self.

And some times when I need to distinguish between logs of the previous command and logs of the command after ..

So, what's the recommended way to solve this issue? I thought about colors, but, I have no idea what to do or how to configure the terminal?

Is there another terminal which support colors, bold, or may be italic .. ??


To color each new command in terminal, you've to edit ~/.bashrc file. To do this,

gedit ~/.bashrc

Uncomment the line

# force_color_prompt=yes



Then, You can restart the terminal or do

. ~/.bashrc
| improve this answer | |
  • so, do I have put the path for .bashrc? or ~ will find it? can you please explain what is the ~ ? – Samir Sabri Jan 29 '13 at 8:55
  • 1
    ~ stands for home folder like / stands for root folder. – TheKojuEffect Jan 29 '13 at 8:57
  • can I change the default color for background and text? – Samir Sabri Jan 29 '13 at 9:00
  • I've not tried that yet as I'm happy with the default. But you can try askubuntu.com/questions/218930/… – TheKojuEffect Jan 29 '13 at 9:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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