--- syntax: markdown tags: [tldr, windows] source: https://github.com/tldr-pages/tldr.git --- # ping > Send ICMP ECHO_REQUEST packets to network hosts. > Unlike Unix-like systems, Windows `ping` sends only 4 packets by default. > More information: . - Ping a host 4 times: `ping {{host}}` - Ping a host a specific number of times: `ping -n {{count}} {{host}}` - Ping a host continuously (until stopped with ``): `ping -t {{host}}` - Set the timeout in milliseconds to wait for each reply: `ping -w {{milliseconds}} {{host}}` - Set the buffer size of the ping packet in bytes: `ping -l {{bytes}} {{host}}` - Ping a host using a specific source IP address: `ping -S {{source_ip}} {{host}}` - Resolve address to hostname: `ping -a {{host}}`