![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Expect自动化交互
逻辑思维菜鸟
这个作者很懒,什么都没留下…
展开
-
《Centos7——ftp自动下载文件的expect脚本》
#!/usr/bin/expect spawn ftp 192.168.194.128 expect “root” send “anonymous\r” expect “Password” send “\r” expect “ftp” send “binary\r” expect “ftp” send “cd pub\r” expect “ftp” send “get ftp.txt\r” expect “complete” send “exit\r” expect eof ...原创 2020-11-02 09:36:39 · 608 阅读 · 0 评论 -
《Centos系统——Expect自动化交互式程序应用》
#!/usr/bin/expect spawn ssh root@192.168.179.131 expect password send wudengtian\r expect eof interact原创 2020-10-15 13:55:38 · 595 阅读 · 0 评论