Skip to content

Instantly share code, notes, and snippets.

@sethhall
Created April 26, 2013 14:36
Show Gist options
  • Select an option

  • Save sethhall/5467784 to your computer and use it in GitHub Desktop.

Select an option

Save sethhall/5467784 to your computer and use it in GitHub Desktop.
cwho
cwho () { ADDR=$1; host $ADDR; geoiplookup $ADDR | tail -n1; whois -h whois.cymru.com -- "-p -c -n -r -u -e -w ${ADDR}" | grep -v "^AS"; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment