Skip to content

Commit f3cf748

Browse files
SibtainOcnsebastiaanspeckManagor
authored
ping: add page (#21387)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
1 parent a5492e5 commit f3cf748

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

pages/windows/ping.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# ping
2+
3+
> Send ICMP ECHO_REQUEST packets to network hosts.
4+
> Unlike Unix-like systems, Windows `ping` sends only 4 packets by default.
5+
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/ping>.
6+
7+
- Ping a host 4 times:
8+
9+
`ping {{host}}`
10+
11+
- Ping a host a specific number of times:
12+
13+
`ping -n {{count}} {{host}}`
14+
15+
- Ping a host continuously (until stopped with `<Ctrl c>`):
16+
17+
`ping -t {{host}}`
18+
19+
- Set the timeout in milliseconds to wait for each reply:
20+
21+
`ping -w {{milliseconds}} {{host}}`
22+
23+
- Set the buffer size of the ping packet in bytes:
24+
25+
`ping -l {{bytes}} {{host}}`
26+
27+
- Ping a host using a specific source IP address:
28+
29+
`ping -S {{source_ip}} {{host}}`
30+
31+
- Resolve address to hostname:
32+
33+
`ping -a {{host}}`

0 commit comments

Comments
 (0)