How to Test the Internet Connection of Ubuntu Server

by Kristen WatersUpdated September 28, 2017
BananaStock/BananaStock/Getty Images

The "ping" command can be used to test an Internet connection on a Ubuntu Server or any Linux computer. This command requests a response from any computer on the Internet. You must have the IP address of a reliable server, such as Google.com. An unreliable server may not be working at the time of the request, providing a false response. If the output of the command shows reply packets, you can be assured that your Internet connection is working.

Log into a terminal session.

Type the command "ping 64.233.169.104" (without quotation marks) to test the connection. The IP address "64.233.169.104" resolves to Google.com.

Check the output for reply packets.

Type "exit" to close the terminal session.

References

Photo Credits

  • BananaStock/BananaStock/Getty Images

About the Author

Kristen Waters has been writing for the computer industry since 2004. She has written training materials for both large and small computer companies as well as how-to and informative articles for many online publications. She holds Bachelor of Science degrees from both York College of Pennsylvania and the University of Maryland.

More Articles

×