There has been a previous question about displaying text in different colours using a script in Bourne - this doesn't seem to work the same for Korn...
Is it possible to display text in different colours when using the Korn shell or am I doing it wrong?
displays the word "hello" in yellow text. To get the "^[" sequence you have to hit ctrl-v, then escape.
The numbers control the color codes. Search previous postings for a list of the different color values. I have posted them in the past.