How to use PING command

How to use PING command

How to use PING command in Command Prompt

Open the Command Prompt

The easiest way to do this is to hit the Windows key on the keyboard and type "cmd" then hit enter


Note that you could run this as administrator for advanced options but it is not necessary for ping

Pinging

In general, when you open the command prompt it will look like this


You can just start typing the command.
The command for pinging is simply ping. Then you have to have an IP address to ping. There are other arguments you can add on the end to get more statistics but a basic ping is just ping ipaddress


The above picture is an example of a ping that returned results. PASTE works in the command prompt window so I suggest copying the IP address then type ping hit CTRL+V and that will paste it in the window then hit ENTER.

There will be 2 different types of results (normally) either the one above or like the picture below. If you get results like the picture above, this generally indicates the thing you are pinging is up and connected to the internet. If you get results like the image below, it usually indicates the thing you are pinging is not active and connected to the internet.


Modifiers

There are some modifiers you can add to a ping to get different results or a longer ping result.

To ping continuously until you make it stop add -t to the argument. Example: ping 66.177.16.115 -t     This will ping that IP address until you either hit CTRL+C or you close the window.

To ping for a certain number of pings use the -n # argument. Example: ping 66.177.16.115 -n 3000   This will ping that IP address for 3000 pings.

There are many other ways you can change and add to this but this is a basic ping and will get you the general information needed.