#!/bin/bash expect -c " set timeout 1000 spawn /bin/su - root expect \":" send \"12360.cn\n\" interact " |
转载于:https://www.cnblogs.com/lvdongjie/p/4211709.html
#!/bin/bash expect -c " set timeout 1000 spawn /bin/su - root expect \":" send \"12360.cn\n\" interact " |
转载于:https://www.cnblogs.com/lvdongjie/p/4211709.html