全代码都在这里 https://github.com/Tiakon/software-launch-script-cluster/tree/master/monitor-scipt 亲测有效,喜欢的给个star吧
2018-05-25
#######creator bai
#!/bin/bash
#以mo开头
i=0;
lv=$(ls | grep -v "^mo");
for scr_file in $lv
do
fp=$(echo -e "\e[1;35m" $scr_file $(tput sgr0));
echo "the script:" $i '===》' $fp
((i=i+1));
done
#!/bin/bash
#以mo开头
i=0;
lv=$(ls | grep -v "^mo");
for scr_file in $lv
do
fp=$(echo -e "\e[1;35m" $scr_file $(tput sgr0));
echo "the script:" $i '===》' $fp
((i=i+1));
done
2018-02-02