hanshenrik Asked: 2019-09-10 00:00:49 +0800 CST2019-09-10 00:00:49 +0800 CST 2019-09-10 00:00:49 +0800 CST Cygwin 使用哪种 ping 实现? 772 Cygwin使用的ping执行源是什么? 它显然不是 GNU ping(因为在 GNU ping 中,发送的 ping 数量由 决定-c X,而在 Cygwin ping 中,它由 决定-n X)。 是自定义 ping 吗?BusyBox ping?玩具箱ping?NetBSD 平?OpenBSD 平?FreeBSD ping?还有什么? cygwin ping 2 个回答 Voted Best Answer SparedWhisle 2019-09-10T00:03:00+08:002019-09-10T00:03:00+08:00 这是Windows ping。赶紧跑: which ping 你会得到: /cygdrive/c/WINDOWS/system32/ping matzeri 2019-09-10T00:14:18+08:002019-09-10T00:14:18+08:00 Cygwin ping 可从 inetutils 源的 ping 包中获得 $ which ping /usr/bin/ping $ cygcheck -f `which ping` ping-1.9.4-1 x86_64 $ ping --help Usage: ping [OPTION...] HOST ... Send ICMP ECHO_REQUEST packets to network hosts. Options controlling ICMP request types: --address send ICMP_ADDRESS packets (root only) --echo send ICMP_ECHO packets (default) --mask same as --address --timestamp send ICMP_TIMESTAMP packets -t, --type=TYPE send TYPE packets Options valid for all request types: -c, --count=NUMBER stop after sending NUMBER packets ....
这是Windows ping。赶紧跑:
你会得到:
Cygwin ping 可从 inetutils 源的 ping 包中获得