ping
Send ICMP ECHO_REQUEST packets to network hosts. Unlike Unix-like systems, Windows
pingsends only 4 packets by default. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/ping.
- Ping a host 4 times:
ping
- Ping a host a specific number of times:
ping -n
- Ping a host continuously (until stopped with
<Ctrl c>):
ping -t
- Set the timeout in milliseconds to wait for each reply:
ping -w
- Set the buffer size of the ping packet in bytes:
ping -l
- Ping a host using a specific source IP address:
ping -S
- Resolve address to hostname:
ping -a
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
