echo -e '\e[31mERROR when compile \e[m'

 echo -e '\e[32mERROR when compile \e[m' 

 echo -e '\e[33mERROR when compile \e[m' 

 echo -e '\e[34mERROR when compile \e[m' 

 echo -e '\e[35mERROR when compile \e[m' 

 echo -e '\e[36mERROR when compile \e[m'

对应结果: 

 

echo打印颜色
 

 

 

相关文章: