Skip to content

Instantly share code, notes, and snippets.

@leogallego

leogallego/whatsmyip

Created Nov 13, 2018
Embed
What would you like to do?
#!/bin/bash
ip=$(curl -s https://api.ipify.org)
echo "My public IP address is: $ip"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment