shell脚本:远程机器上执行shell命令

arr=("suxinghe" "tianshantonglao" )
#arr=("dongfangbubai")

for mm in ${arr[@]}
do
#scp /opt/cloudera.tar bigdata@$mm:/home/bigdata/
echo $mm#############

#:< 
 

你可能感兴趣的:(linux,shell)