Introduction
Sometimes you need to check if another computer or website is reachable from your computer. The ping command sends small messages to the other computer and waits for a reply to confirm the connection is working.
When you want to check if your internet connection is working by pinging a public website like google.com
When you want to see if a server on your local network is turned on and reachable
When you want to measure how long it takes for messages to travel between your computer and another device
When troubleshooting network problems to find out if a device is responding
When you want to check if a website is down or just unreachable from your location