2014-02-21 40 views

回答

0

使用shell(不是紅寶石,但你應該罰款更新到Ruby腳本)

while read -r server 
do 
ssh [email protected]$server "sed -i s/old/new/ ~/.bash_profile" 
done < server.list