标签:shell
``` #!/bin/bash des_pass=testtest expect -c " spawn scp target/aaa-0.0.1.war root@192.168.1.30:/home/GameUser/MagicvesselUserWeb/aaa-release.war expect \"password:\" send \"${des_pass}\r\" expect eof "
本文出自 “不抛弃!不放弃” 博客,请务必保留此出处http://thedream.blog.51cto.com/6427769/1939658
标签:shell
原文地址:http://thedream.blog.51cto.com/6427769/1939658