我累了在bash脚本中输入用户名,我运行脚本,但我该怎么做,当我富到这一行,它期望输入用户名
Vpn.sh: 1: H8JPgidIAO7T43IP: not found
Vpn.sh: 1: TEL5Fl5bZ6y857IihRmMKEJT0knhxutW: not found
🔐 Enter Auth Username:
你可以使用expect:
#!/usr/bin/expect
spawn Vpn.sh
expect "Enter Auth Username:"
send "ThePasswordr"
expect eof