项目
在 GitHub 查看
sheepla/pingu
关于
🐧将 ping 命令换成 pingu
开发工具可以做什么
- Colorful and fun output.
- Cross-platform support: Windows, macOS, and Linux (also WSL)
- It works with a single executable file, so it can be installed easily.
- Support IPv4 and IPv6.
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- -3
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Features
- Colorful and fun output.
- Cross-platform support: Windows, macOS, and Linux (also WSL)
- It works with a single executable file, so it can be installed easily.
- Support IPv4 and IPv6.
Usage
Simply specify the target host name or IP address in the first argument e.g. pingu github.com or pingu 13.114.40.48.
You can change the number of transmissions by specifying the -c option.
Usage:
pingu [OPTIONS] HOST
`ping` command but with pingu
Application Options:
-c, --count= Stop after <count> replies (default: 20)
-P, --privilege Enable privileged mode
-V, --version Show version
Help Options:
-h, --help Show this help message
Installation
Download executable binaries
You can download executable binaries from the latest release page.
Build from source
To build from source, clone this repository then run make build or go install. Developing on go1.18.3 linux/amd64.
Another way to install it if you have go in your machine just:
go install github.com/sheepla/pingu@latest
WSL support
To run on WSL, give CAP_NET_RAW capability with the following command and start it with the -P, --privilege option.
sudo setcap cap_net_raw=+ep /path/to/pingu
pingu -P github.com
c.f.
LICENSE
Author
探索相关项目
加载中…