From 86be0b36b198f4af8c92e508c943dea9dd537103 Mon Sep 17 00:00:00 2001 From: frankiexyz Date: Tue, 25 Oct 2016 07:21:08 +0000 Subject: [PATCH] Add cwhois --- plugins/cwhois/cwhois.plugin.zsh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 plugins/cwhois/cwhois.plugin.zsh diff --git a/plugins/cwhois/cwhois.plugin.zsh b/plugins/cwhois/cwhois.plugin.zsh new file mode 100644 index 00000000..cb7ed4d1 --- /dev/null +++ b/plugins/cwhois/cwhois.plugin.zsh @@ -0,0 +1,11 @@ +# IP/ASN lookup by using cymru's whois server +#>whois 8.8.8.8 +#AS | IP | AS Name +#15169 | 8.8.8.8 | GOOGLE - Google Inc., US +#>cwhois as15169 +#AS Name +#GOOGLE - Google Inc., US + +function cwhois() { + whois -h whois.cymru.com "$@" ; +}