摘要:
#!/bin/bash pw=123456 function vncpw(){ /usr/bin/expect <<eof set timeout 10 spawn vncpasswd expect "Password:" send "$pw\n" expect "Verify:" send "$p 阅读全文
posted @ 2020-12-15 19:38
vmsysjack
阅读(450)
评论(0)
推荐(0)
摘要:
#!/bin/bash #定义一个变量pw pw=123456 function vncpw(){ /usr/bin/expect <<eof set timeout 10 spawn vncpasswd expect "Password:" send "$pw\n" expect "Verify: 阅读全文
posted @ 2020-12-15 19:00
vmsysjack
阅读(270)
评论(0)
推荐(0)
浙公网安备 33010602011771号