摘要: #!/usr/bin/expectset timeout 30set user USERNAMEset pass PASSWORDspawn sudo pg_dump npi -U admin -p PORT -h IP -f /home/pgsql_bak/expect { "Password" 阅读全文
posted @ 2019-01-04 14:04 噔噔蹬蹬 阅读(616) 评论(0) 推荐(0) 编辑