Skip to content

Instantly share code, notes, and snippets.

@codatory
Created November 8, 2011 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save codatory/1348294 to your computer and use it in GitHub Desktop.
Save codatory/1348294 to your computer and use it in GitHub Desktop.
WhatIsMyIP Bash Function
whatismyip() {
IP=`curl --silent http://ip.appspot.com/`
echo "External IP: ${IP}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment