Skip to content

Instantly share code, notes, and snippets.

@luckymancvp
Created October 1, 2015 02:40
Show Gist options
  • Save luckymancvp/0094b36fd25dcc3c2128 to your computer and use it in GitHub Desktop.
Save luckymancvp/0094b36fd25dcc3c2128 to your computer and use it in GitHub Desktop.
Linux Command
# Get public ip
curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment