I've set the TERM
variable value to linux-m
to have a monochrome terminal. What's peculiar it doesn't changed anything - when i issue ls -l
or grep --color
i still get colorized results. Why does it returns colors if the terminal is no-color?
For previous information on this see Changing TERM variable and color output. It's related but has another focus.