shell脚本的自动交互 使用expect来自动应答shell的交互 1234567#!/usr/bin/expectspawn openssl req -new -key server.key -out server1.csrexpect "Country Name"send "\n"expect "State or Province Name"send "\n"interact 暂未分类 #暂未分类 shell脚本的自动交互 https://zphj1987.com/2015/04/02/shell脚本的自动交互/ 作者 zphj1987 发布于 2015年4月2日 许可协议 windows下命令行设置静态IP 上一篇 history命令的优化 下一篇