摘要:demo :expect与send 例子:在 node1上 执行test.sh 来调用node2上的 get_java_home.sh 1.在node1节点上 创建 test.sh vi test.sh 添加以下内容: #!/bin/bash passW="AaBbCc" /usr/bin/expe
阅读全文
posted @ 2019-01-09 11:17
绿Z
01 2019 档案
摘要:demo :expect与send 例子:在 node1上 执行test.sh 来调用node2上的 get_java_home.sh 1.在node1节点上 创建 test.sh vi test.sh 添加以下内容: #!/bin/bash passW="AaBbCc" /usr/bin/expe
阅读全文
posted @ 2019-01-09 11:17
|