It’s a simple way to verify that a computer can communicate with another computer or connection rig.

How Does the Ping Command Work?

It’s also available in older versions of Windows like Windows 98 and 95.

Ping command in Command Prompt on WIndows 10

This command can also be found in Command Prompt in theAdvanced Startup OptionsandSystem Recovery Optionsrepair/recovery menus.

The availability of certain ping command switches and other ping commandsyntaxmight differ fromoperating systemto operating system.

The-f,-v,-r,-s,-j, and-koptions work when pinging IPv4 addresses only.

The-Rand-Soptions only work withIPv6.

Executeping /?from the Command Prompt for more information on these options.

You cansave the ping command output to a fileusing a redirection operator.

Ping Command Examples

Below are several examples of commands that use ping.

Ping Google.com

In this example, the ping command is used to ping the hostnamewww.google.com.

The IPv6 version of this test would beping ::1. you’re able to interrupt the ping manually withCtrl+C.

The IPv6 Zone ID is the number in theIdxcolumn.

To ping a port,use the telnet command.