How to disable terminal colors?

Hi all

is there any way to disable terminal colors in OpenWrt 19.07.4?

Can't find config file responsible for that...


What colors?
Could you be more specific?

Probably /etc/profile
(but e.g. putty shows no colors in terminal by default.)

I am talking about this

mkdir -p /etc/profile.d
cat << "EOF" > /etc/profile.d/
alias ls="ls --color=never"
. /etc/profile

Thank you.

1 Like