摘要: [root@localhost scripts]# cat exptest.sh#!/usr/bin/expectspawn ssh root@127.0.0.1expect "password: "send "oracle\r"sleep 1send "ls\r"#send "ls >/tmp/l... 阅读全文
posted @ 2015-10-19 22:28 hao_xiaoyu 阅读(238) 评论(0) 推荐(0) 编辑