运维网's Archiver
论坛
›
Shell/Powershell
› shell while-7326056
来看看
发表于 2018-8-21 11:26:32
shell while-7326056
第一种
startup() {
IFS=:
while read -u3 IP DIR
do
ssh $IP "sh $DIR/startup_yulong.sh &>/dev/null &"
echo "开服执行位置 $IP:$DIR"
done 3< $SCP_FILE
页:
[1]
查看完整版本:
shell while-7326056