shell 使用函数
Color_Text()
{
echo -e " \e[0;$2m$1\e[0m"
}
Echo_Red()
{
echo $(Color_Text "$1" "31")
}
Echo_Green()
{
echo $(Color_Text "$1" "32")
}
Echo_Yellow()
{
echo $(Color_Text "$1" "33")
}
Echo_Blue()
{
echo $(Color_Text "$1" "34")
}Echo_Red ‘Success!!!‘;
优点意思!!!
相关推荐
firefaith 2020-10-30
wangzhaotongalex 2020-09-22
woaimeinuo 2020-10-21
laisean 2020-09-01
libao 2020-09-16
卖口粥湛蓝的天空 2020-09-15
大牛牛 2020-06-14
laisean 2020-05-09
liushun 2020-04-23
liuyh 2020-08-09
higheels 2020-06-26
thickbookszone 2020-06-14
xiaonamylove 2020-06-14
firefaith 2020-06-14
伏雌摘星阁 2020-05-26
lishaokang 2020-05-10