forked from extern/ohmyzsh
6 lines
141 B
Bash
6 lines
141 B
Bash
function iwhois() {
|
|
resolver="whois.geek.nz"
|
|
tld=`echo ${@: -1} | awk -F "." '{print $NF}'`
|
|
whois -h ${tld}.${resolver} "$@" ;
|
|
}
|