Ubuntu – Permanently disable color in default terminal


I can't figure out how to disable the colors in the terminal(just the default, gnu it's called?). Been looking for an hour and ran some code that I saw else where. Also tried emacs ~/.bashrc and added a line that was supposed to disable the color, it worked once then I closed the terminal, ls again, and the colors were back. Any help is great!

Best Answer

In your .bashrc file, you'll find lines

# 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

Put a # comment sign in front of force_color_prompt=yes line and restart terminal. After the change, the line should be


Edit: This will turn of the color from terminal. But if some programs has color support built-in in them and if you want to turn them off too, follow @Zanna's answer. Basically you need to comment out the lines like alias ls='ls --color=auto' etc.

Related Question