linux shell输出带颜色文本

echo -e "33[33;31m Color Text" - red

echo -e "33[33;32m Color Text" - green

echo -e "33[33;33m Color Text" - yellow

echo -e "33[33;34m Color Text" - blue

echo -e "33[33;35m Color Text" - Magenta

echo -e "33[33;30m Color Text" - Gray

echo -e "33[33;36m Color Text" - Cyan
原文地址:https://www.cnblogs.com/xiongqiangcs/p/5226798.html