Guest User

Untitled

a guest
Nov 16th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. #!/usr/bin/expect -f
  2.  
  3. spawn nmcli -a con up id <VPN ID>
  4. expect "Username:"
  5. send "<username>r"
  6. expect "Password:"
  7. send "<password>r"
  8. expect "$ "
Add Comment
Please, Sign In to add comment