码迷,mamicode.com
首页 > 其他好文 > 详细

设置字体颜色

时间:2019-10-22 23:59:23      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:world   颜色   local   cal   echo   host   设置   root   字体   

[root@localhost ~]# echo -e "\033[1mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[31mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[32mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[33mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[34mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[35mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[36mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[37mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[38mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[39mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[40mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[41mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[42mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[43mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[44mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[45mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[46mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[47mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[1mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[31mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[32mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[33mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[34mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[35mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[36mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[37mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[38mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[39mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[40mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[41mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[42mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[43mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[44mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[45mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[46mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[47mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[1mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[31mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[32mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[33mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[34mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[35mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[36mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[37mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[38mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[39mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[40mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[41mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[42mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[43mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[44mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[45mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[46mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[47mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[1mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[31mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[32mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[33mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[34mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[35mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[36mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[37mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[38mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[39mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[40mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[41mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[42mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[43mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[44mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[45mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[46mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[47mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[1mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[31mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[32mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[33mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[34mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[35mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[36mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[37mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[38mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[39mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[40mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[41mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[42mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[43mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[44mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[45mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[46mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[47mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[1mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[31mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[32mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[33mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[34mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[35mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[36mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[37mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[38mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[39mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[40mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[41mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[42mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[43mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[44mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[45mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[46mHello\033[0m,world."
Hello,world.
[root@localhost ~]# echo -e "\033[47mHello\033[0m,world."
Hello,world.

设置字体颜色

标签:world   颜色   local   cal   echo   host   设置   root   字体   

原文地址:https://blog.51cto.com/14531315/2444520

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!