yum install -y rsyncyum install -y expectchmod a+x 2.expect ./2.expect 转载于:https://blog.51cto.com/68686789/1843809