5.jpg
style.cfg

COLOR_SUFFIX="\033[0m"
BLACK_PREFIX="\033[30m"
RED_PREFIX="\033[31m"
GREEN_PREFIX="\033[32m"
YELLOW_PREFIX="\033[33m"
BLUE_PREFIX="\033[34m"
PURPLE_PREFIX="\033[35m"
SKY_BLUE_PREFIX="\033[36m"

usage:

source ./style.cfg
echo -e ${GREEN_PREFIX} "Linux system is ok"${COLOR_SUFFIX}

发表回复

您的电子邮箱地址不会被公开。

Captcha Code