Linux 命令行中使用带颜色的输出
http://misc.flogisoft.com/bash/tip_colors_and_formatting
We just have to use \033
The most frequently used format would be \033[31mtext here \033[0m
比如:echo \033[31mtext here \033[0m
http://misc.flogisoft.com/bash/tip_colors_and_formatting
We just have to use \033
The most frequently used format would be \033[31mtext here \033[0m
比如:echo \033[31mtext here \033[0m