Skip to content

Instantly share code, notes, and snippets.

@gilangvperdana
Last active May 5, 2022 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gilangvperdana/f68a9b9a79eb151bf83472e775a6fea5 to your computer and use it in GitHub Desktop.
Save gilangvperdana/f68a9b9a79eb151bf83472e775a6fea5 to your computer and use it in GitHub Desktop.
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