2024年8月5日

expect的使用

摘要: 安装 yum install expect xxx.exp编写 #!/usr/bin/expect -f set timeout -1 set password [lindex $argv 0] spawn vncpasswd expect "*assword*" send "$password\r 阅读全文

posted @ 2024-08-05 16:22 heysong 阅读(3) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
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
点击右上角即可分享
微信分享提示