摘要: 使用expect来自动应答shell的交互 #!/usr/bin/expect spawn openssl req -new -key server.key -out server1.csr expect "Country Name" send "\n" expect "State or Provi 阅读全文
posted @ 2015-04-02 12:17 武汉-磨渣 阅读(136) 评论(0) 推荐(0)