Linux - Keep internet connection monitoring, Best practice to do ping test

Keep internet connection monitoring

There are many different methods to keep your internet connections monitored, but the best practice to keep the internet connection monitored is the ping test. But how will make the ping test and to which IP we can do ping test? You all know Google servers never goes down, might be in some rare case. On terminal type the ping command with -t option
 # ping -t

Pinging with 32 bytes of data:
Reply from bytes=32 time=175ms TTL=49
Reply from bytes=32 time=167ms TTL=49
Reply from bytes=32 time=54ms TTL=49
Reply from bytes=32 time=139ms TTL=49
Request timed out.

 # nslookup
   Server:  UnKnown


Type "ping -t" leaving the double quotes. The " -t " switch is important since it means that the ping command will run forever if not stopped by yourself by hitting Ctrl + C. ( is Google's DNS Server)
The output of the ping command shows the live status of your Internet connection. If the status reads as "reply from," the machine is online and in all other cases it means that the Internet connection is down.

The topic on Linux - Keep internet connection monitoring is posted by - Math

Hope you have enjoyed, Linux - Keep internet connection monitoringThanks for your time

Tech Bluff