What is the best method to test basic internet connectivity?

Answer:
Use ping command to check the connectivity to any of the known DNS servers of the Internet Service Provider. If ping fails, then there is no internet connectivity or network is not through.
First answer by ID0995923865. Last edit by ID0995923865. Question popularity: 1 [recommend question].