How To Make `less` Handle Escape Sequences for Colors in Terminal

Use the -R (or --RAW-CONTROL-CHARS) options.

less -R <your file>

Subscribe to My Newsletter

The latest programming-related news, articles and resources - sent to your inbox monthly. Unsubscribe anytime.