How to switch on a colored terminal by CLI?
Edit user’s shell config file
Find out the string with the commented parameter ” force_color_prompt ” and uncomment them with value yes
# uncomment for a colored prompt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal window # should be on the output of commands, not on the prompt force_color_prompt=yes if [ -n “$force_color_prompt” ]; then if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then # We have color support;
Save and close .bashrc
Log off and log in again to see changes