echo 修改颜色

设置颜色 -e “\e[1;31m ” 31-38 范围 为修改文本颜色 [[email protected] ~]# echo -e “\e[1;31m This is a red text.” 这条命令不仅修改了文本颜色 而且也修改了终端的颜色 不同时修改终端颜色再原来基础上再添加 \e[0m [[email protected] ~]# echo -e “\e[1;31m This is a
相关文章
相关标签/搜索