Expect自动化交互
逻辑思维菜鸟
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
《Centos7——ftp自动下载文件的expect脚本》
#!/usr/bin/expectspawn ftp 192.168.194.128expect “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 · 703 阅读 · 0 评论 -
《Centos系统——Expect自动化交互式程序应用》
#!/usr/bin/expectspawn ssh root@192.168.179.131expect passwordsend wudengtian\rexpect eofinteract原创 2020-10-15 13:55:38 · 975 阅读 · 0 评论
分享