Created
November 8, 2018 02:17
-
-
Save jflaflamme/567a596c7460edce7616ad76d0102a89 to your computer and use it in GitHub Desktop.
Because when we CTRL+L & CTRL+C in Chrome to get an URL/domain to use Whois, we need to strip the http or https:// at the beginning.Override normal whois to accept http and https, strip that and pass it to normal whois function.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| whois(){ /usr/bin/whois `echo $1|awk -F[/:] '{print $4}'` } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment