
Friday, January 1, 2010
Posted by venu k
63 comments | 2:17 AM

Shell scripts commonly used ANSI escape codes for color output.
Following table shows Numbers representing colors in Escape Sequences.
ColorForegroundBackground
Black 30 40
Red 31 41
Green 32 42
Yellow 33 43
Blue 34 44
Magenta 35 45
Cyan 36 46
White 37 47
The numbers in the above table work for xterm terminal.Result may vary
for other terminal emulators.
Use the following template for writing colored...
Subscribe to:
Posts (Atom)