function log_print() {
echo -e "\033[32m$(date "+%Y-%m-%d %H:%M:%S") | INFO | $@\033[0m";
}
function err_exit() {
echo -e "\033[31m$(date "+%Y-%m-%d %H:%M:%S") | ERROR | $@\033[0m";
}
shell 记录
猜你喜欢
转载自blog.csdn.net/wl101yjx/article/details/128565898
今日推荐
周排行