/ip-pin

ip-pin 是一个可以在命令行获取 ip 定位的小工具

Primary LanguageShell

IP PIN

一个可以方便获取 IP 和 IP 定位,IP 所属 ISP 的小工具。数据来源于 淘宝 IP 库

Install

$ curl -O https://raw.githubusercontent.com/feymanlee/ip-pin/master/ip_pin.sh
# as a command.
$ mv ip_pin.sh /usr/local/bin/ip-pin
$ chmod +x /usr/local/bin/ip-pin

Usage

 $ ip-pin
 # IP:114.254.106.75
 # 来自:** 华北 北京市 北京市 联通
 $ ip-pin 114.114.114.114
 # IP:114.114.114.114
 # 来自:** 华东 江苏省 南京市

License

MIT