Last active
November 8, 2018 03:29
-
-
Save jflaflamme/d6dcfc258b5f5c614f6da071c6b48602 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. This override normal whois to accept http and https, strip that and pass it to normal whois function. Simply add to .bashrc
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|cut -d'/' -f3` } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment