Skip to content

Instantly share code, notes, and snippets.

@javelin
Created July 26, 2018 04:02
Show Gist options
  • Select an option

  • Save javelin/ce59c37c8c3921a85d2ed64143c89b00 to your computer and use it in GitHub Desktop.

Select an option

Save javelin/ce59c37c8c3921a85d2ed64143c89b00 to your computer and use it in GitHub Desktop.
Get public IP from command line.
dig +short myip.opendns.com @resolver1.opendns.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment