2019年11月6日

shell打印颜色

摘要: shell脚本中echo显示内容带颜色 shell脚本中echo显示内容带颜色显示,echo显示带颜色,需要使用参数-e 格式如下: echo -e "\033[字背景颜色;文字颜色m字符串\033[0m" 例如: echo -e "\033[41;36m something here \033[0 阅读全文

posted @ 2019-11-06 10:30 gentleman_hai 阅读(2373) 评论(0) 推荐(0) 编辑

导航