Credits for original template code https://github.com/johnwmintz/pinglist
curl -s https://raw.githubusercontent.com/dylhost/host-ping-test/refs/heads/main/pinglist.sh | bash -s
curl -s https://raw.githubusercontent.com/dylhost/host-ping-test/refs/heads/main/pinglist.sh | bash -s -- -flags
Flag | Description |
---|---|
-c | Specify country to test |
-s | Specify sort flag (options below) |
Default: Sort by ping (desending)
- Sort by ping (assending)
- Sort by IP
- Sort by host name
- Sort by City
- Sort by Country code
Test all SGP hosts
curl -s https://raw.githubusercontent.com/dylhost/host-ping-test/refs/heads/main/pinglist.sh | bash -s -- -c SGP
Test Hosthatch Hosts
curl -s https://raw.githubusercontent.com/dylhost/host-ping-test/refs/heads/main/pinglist.sh | bash -s -- -c HostHatch
Sort by country code
curl -s https://raw.githubusercontent.com/dylhost/host-ping-test/refs/heads/main/pinglist.sh | bash -s -- -s 5