摘要: 一、expect相关命令 命令 作用send 用于向进程发送字符串expect 从进程接收字符串spawn 启动新的进程interact 允许用户交互 二、expect简单样例 #!/usr/tcl/bin/expect set timeout 20set host "10.10.10.100"se 阅读全文
posted @ 2017-10-11 20:13 HR· 阅读(10881) 评论(1) 推荐(0)