mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Add cwhois
This commit is contained in:
parent
0ee89d965e
commit
86be0b36b1
1 changed files with 11 additions and 0 deletions
11
plugins/cwhois/cwhois.plugin.zsh
Normal file
11
plugins/cwhois/cwhois.plugin.zsh
Normal file
|
|
@ -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 "$@" ;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue