Bash colors and formatting Jan. 4, 2015, 12:16 a.m.

The ANSI/VT100 terminals and terminal emulators are not just able to display black and white text ; they can display colors and formatted texts thanks to escape sequences. Those sequences are composed of the Escape character (often represented by ^[ or <Esc>) followed by some other characters: <Esc>[FormatCodem.

bash terminal ansi programming