Skip to content

Instantly share code, notes, and snippets.

@cideveloper
Created November 17, 2017 19:10
Show Gist options
  • Save cideveloper/523099f974e799934adddbb22224c8a8 to your computer and use it in GitHub Desktop.
Save cideveloper/523099f974e799934adddbb22224c8a8 to your computer and use it in GitHub Desktop.
GLOBALWHOIS=$(whois -H $1);
WHOISSERVER=$(echo "${GLOBALWHOIS}" | grep "Registrar WHOIS Server" | cut -c28-);
echo "${GLOBALWHOIS}";
whois -H -h ${WHOISSERVER} $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment