notes
stable
Mongodb
Redis
mysql
Elasticsearch
操作系统
K8s
Etcd
消息队列
shell
sed
输出颜色
系统
进程分析
Go
数据结构
OpenResty
监控
Sphinx
notes
Docs
»
shell
»
输出颜色
Edit on GitHub
输出颜色
¶
RED
=
'\033[0;31m'
NC
=
'\033[0m'
echo
"
${
RED
}
hello world!
${
NC
}
"
Read the Docs
v: stable
Versions
latest
stable
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.