Skip to content

Instantly share code, notes, and snippets.

@pocc
Created May 30, 2018 20:09
Show Gist options
  • Save pocc/5311ebe6978cb4cc3fcb60554f106738 to your computer and use it in GitHub Desktop.
Save pocc/5311ebe6978cb4cc3fcb60554f106738 to your computer and use it in GitHub Desktop.
Whois with hostname
whois $(dig +short $1 | tail -n -1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment