Posts Tagged ‘expect’

[Linux] expect

2009.7 28

在写一些shell脚本的时候,经常会遇到需要用户输入密码的交互情况。 例如在用rsync备份的时候,如果没有假设rsync服务器端,需要用到ssh+rsync备份,没有提供输入密码的选项。上网上查了一下,有个expct的交互程序。 expect也够 Read the rest of this entry