zoukankan      html  css  js  c++  java
  • shell中字体变色

                                      在linux中给字体使用数字代码变色                                        

    • 字体颜色代码:重置0 ,黑色30红色31绿色32黄色33蓝色34洋红35青色36浅灰37
    • 效果代码:1m加粗  2m加下划线  5m闪动效果  7m加背景色

    应用示例:

    • echo -e "e[31m the is test e[0m"  或  echo -e "33[33m the is test 33[0m"
       the is test
    • echo -e "e[1;31m the is test e[0m" 或 echo -e "33[33;1m the is test  33[0m" (加粗模式)
      the is test
  • 相关阅读:
    red and black(BFS)
    G
    D
    new word
    CSS Layout
    G
    CSS
    组合数学-母函数
    组合数学-卡特兰数
    cf1144G 将串分解成单调递增和递减子串(贪心)
  • 原文地址:https://www.cnblogs.com/tangshengwei/p/4977440.html
Copyright © 2011-2022 走看看