Checking Connections with ping
Think of using ping as saying "Are you there?" to a remote computer. For example, suppose you're trying to connect to a Web page but are getting no response from the computer. Rather than wait and wonder what's going on, type ping to find out if the computer is up and functional (Code Listing 12.5).
Code Listing 12.5. Using ping, you can find out whether or not you can connect to a specific computer.
To Check a Computer with ping: