Chinaunix首页 | 论坛 | 博客
  • 博客访问: 64746
  • 博文数量: 8
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 60
  • 用 户 组: 普通用户
  • 注册时间: 2014-09-02 11:26
文章分类

全部博文(8)

文章存档

2015年(3)

2014年(5)

我的朋友

发布时间:2014-10-31 17:02:33

#!/usr/bin/expect#Create Date: 2014-9-28set f [open file r] #(file1为一个文本文件,每行逐条记录“IP 用户名 密码  用户root 密码 端口”)while { [gets $f line] >= 0 } {set timeout 30set host    [lindex $line 0]set user1   [lindex $line 1]set passwd1 [lindex $line 2]set .........【阅读全文】

阅读(2070) | 评论(0) | 转发(1)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册