Skip to content

Instantly share code, notes, and snippets.

@danielmelogpi
Forked from samurailink3/gist:6037786
Created March 16, 2014 02:04
Show Gist options
  • Save danielmelogpi/9577480 to your computer and use it in GitHub Desktop.
Save danielmelogpi/9577480 to your computer and use it in GitHub Desktop.
a=$(curl -s ipogre.com/linux.php); a=${a##* }; echo ${a%%<*}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment