摘要: 1、编写脚本实现登陆远程主机。(使用expect和shell脚本两种形式) #1 安装expect[root@centos7 ~]# yum install expect -y[root@centos7 home]# vim expect2#!/usr/bin/expectset ip 192.16 阅读全文
posted @ 2022-04-24 18:05 海阔天空1122 阅读(42) 评论(0) 推荐(0)