Skip to content

Instantly share code, notes, and snippets.

@gilangvperdana
Last active May 5, 2022 06:40
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Speedtest & Check Public IP on Linux CLI

Check Public IP on Linux CLI

curl ifconfig.me
curl -4/-6 icanhazip.com
curl ipinfo.io/ip
curl api.ipify.org
curl checkip.dyndns.org
dig +short myip.opendns.com @resolver1.opendns.com
host myip.opendns.com resolver1.opendns.com
curl ident.me
curl bot.whatismyipaddress.com
curl ipecho.net/plain

SpeedTest on Linux CLI

sudo apt-get install curl
curl -s https://install.speedtest.net/app/cli/install.deb.sh | sudo bash
sudo apt-get install speedtest
speedtest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment