标签:
cat 33.txt |while read LINE do result=`ssh -n root@192.168.0.101 date` echo $result done
-n
shell中使用while循环ssh读取一行纪录
原文地址:http://my.oschina.net/7shell/blog/387529