ls -l --color=auto | tee output.log
Without pipe/tee it's colored. How can I make it so that it stays colored while using
tee (can be colored only on the screen, I don't care about colors in logs).
If you don't already have it installed, on Ubuntu and other Debian-ish Linux distributions you can install
Use the ls option
The man page says
|show 1 more comment|