摘要: #!/bin/bash /usr/bin/expect << EOF spawn /usr/local/pgsql/bin/2.sh expect "*postgres:" send "postgres\r" set timeout 7200 expect eof EOF 2.sh#!/bin/ba 阅读全文
posted @ 2019-09-23 13:54 侃豺小哥 阅读(525) 评论(0) 推荐(0) 编辑