用bash打印彩色字符的例子
时间:2011-05-30 来源:welkinwalker
echo -e "\e[30mERROR when compile \e[m"
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 -e "\e[37mERROR when compile \e[m"
echo -e "\e[38mERROR when compile \e[m"
echo -e "\e[39mERROR when compile \e[m"
相关阅读 更多 +