Last Updated: February 25, 2016
· stefanopulze

How to Enabled terminal's color

To check current terminal's color use this command:

tput colors</code>

If say 8 then we need change /etc/bashrc and add on top

if ["$TERM" == "xterm" ]; then export TERM=xterm-256color fi </code>

Reboot and enjoy!

1 Response
Add your response

I you want to apply this option not a global level but on a user level you can put the line in ~/.bashrc. After adding you can reload your configuration with . ~/.bashrc.

over 1 year ago ·