expect简单使用案例
摘要:举例:自动从另一个机器B中获取文件 shell脚本中调用expect脚本(传递所需要的机器B中的文件路径) filename=$1 ./t1.exp "/data/$filename" 给t1.exp赋权 chmod 755 t1.exp expect 脚本 #!/usr/bin/expect se
阅读全文
posted @ 2021-01-19 16:23
posted @ 2021-01-19 16:23
|
|||||||||
日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
---|---|---|---|---|---|---|---|---|---|
23 | 24 | 25 | 26 | 27 | 28 | 1 | |||
2 | 3 | 4 | 5 | 6 | 7 | 8 | |||
9 | 10 | 11 | 12 | 13 | 14 | 15 | |||
16 | 17 | 18 | 19 | 20 | 21 | 22 | |||
23 | 24 | 25 | 26 | 27 | 28 | 29 | |||
30 | 31 | 1 | 2 | 3 | 4 | 5 |
Powered by:
博客园
Copyright © 2025 石墨方
Powered by .NET 9.0 on Kubernetes