标签:for bash bin 查看 ssh ado jdk == done
#!/bin/bash
for i in jack@hadoop102 jack@hadoop103 jack@hadoop104
do
echo "===================== $i ============================="
ssh $i ‘/opt/module/jdk1.8.0_144/bin/jps‘
done
标签:for bash bin 查看 ssh ado jdk == done
原文地址:https://www.cnblogs.com/jungle123/p/11392022.html