I have used Linux for a while, but I still haven’t yet delved into Bash. How would I write a shell script that would essentially do the “fastest server” feature manually?
It would need to do the following:
- Ping the list of VyprVPN servers
- Output results with server’'s names, not IP addresses
- Display fastest servers on top, slowest on bottom
Update: See MattN’s response for a better implementation than mine
This is what I can type in from the command line and it’s served me well so far (using Linux Mint):
sudo fping -c 5 -ef myserver.txt
where the file “myserver.txt” is the list of VyprVPN servers with the ones I usually use uncommented and the ones I don’t commented:
# Format: # Server name # Server IP address (commented = skip; uncommented = check) # Los Angeles, CA us1.vpn.goldenfrog.com # San Francisco, CA # us7.vpn.goldenfrog.com # etc.....