摘要: 由于使用的使用的编译器不同导致, 需要使用shell为 #!/bin/bash 即可。 阅读全文
posted @ 2017-02-06 15:15 hbg-rohens 阅读(3796) 评论(0) 推荐(0)
摘要: shell脚本中echo显示内容带颜色显示,echo显示带颜色,需要使用参数-e 格式如下: echo -e “\033[字背景颜色;文字颜色m字符串\033[0m” 例如: echo -e “\033[41;36m something here \033[0m” 其中41的位置代表底色, 36的位 阅读全文
posted @ 2017-02-06 11:13 hbg-rohens 阅读(372) 评论(0) 推荐(0)