How do I output coloured text to a Linux terminal?

How do I print coloured characters to a Linux terminal that supports it?

How do I tell whether the terminal supports colour codes?

16 Answers
16

Leave a Comment