====== 09 color表示 ======
$ echo -e '\e[VALUE[;VALUE..]mSTRINGS\e[m'
VALUE
Text attributes
0 All attributes off
1 Bold on
4 Underscore (on monochrome display adapter only)
5 Blink on
7 Reverse video on
8 Concealed on
Foreground colors
30 Black
31 Red
32 Green
33 Yellow
34 Blue
35 Magenta
36 Cyan
37 White
Background colors
40 Black
41 Red
42 Green
43 Yellow
44 Blue
45 Magenta
46 Cyan
47 White
1.赤文字にする。
echo -e "\e[31m AAAA \e[0m"
2.背景黄色の文字赤にする。
echo -e "\e[31m\e[43m AAAA \e[0m"
3.大文字緑にする。
echo -e "\e[1;32m AAAA \e[0m"
{{tag>bash}}