Skip to content

Instantly share code, notes, and snippets.

@awrowse
Created June 1, 2012 13:22
Show Gist options
  • Save awrowse/2852120 to your computer and use it in GitHub Desktop.
Save awrowse/2852120 to your computer and use it in GitHub Desktop.
Find IP address from Bash Shell
#!/bin/bash
lynx -dump http://www.formyip.com/ | awk "/IP is/{print $NF}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment