Skip to content

Instantly share code, notes, and snippets.

@avilum
Created July 4, 2021 12:07
Show Gist options
  • Save avilum/2c758339b611d3c1e5ae9c74a38c4ea1 to your computer and use it in GitHub Desktop.
Save avilum/2c758339b611d3c1e5ae9c74a38c4ea1 to your computer and use it in GitHub Desktop.
Who Am I ? (Whois on my public IP - ISP level)
wget -qO- "http://ipwhois.app/json/$(wget -qO- http://checkip.amazonaws.com)"
# Optionally - pipe the JSON output to jq:
# wget -qO- "http://ipwhois.app/json/$(wget -qO- http://checkip.amazonaws.com)" | jq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment