阅读背景:

shell在终端输出彩色文本

来源:互联网 

echo -e "\e[1;31m this is red text \e[0m"

\e[1;31m 将颜色设置成红色,\e[0m"将颜色重置。\e[




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: