Created
June 19, 2023 13:49
-
-
Save baysideengineer/97743f78dc118cf1dfa9985835db00ed to your computer and use it in GitHub Desktop.
Connect to a random ExpressVPN server.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
expressvpn disconnect | |
expressvpn refresh | |
VPN=$(expressvpn list all | awk '{print $1}' | tail -n+3 | shuf -n1) | |
expressvpn connect "$VPN" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment