shell脚本字体颜色输出
时间: 2023-09-07 16:17:01 浏览: 184
sh代码-shell颜色大全
在Shell脚本中,可以使用特殊的转义序列来输出带有颜色的字体。常用的字体颜色代码如下:
- 黑色字:\033<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [linux下使用shell脚本输出带颜色字体](https://download.csdn.net/download/weixin_38678057/12842834)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [shell脚本输出颜色](https://blog.csdn.net/yetyongjin/article/details/120972642)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文