How Do I Know If My Linux Server Has Internet Access?
Contents

How do I know if I have Internet access on Linux?

Check network connectivity using the ping command

The ping command is one of the most used Linux network commands in network troubleshooting. You can use it to check whether or not a specific IP address can be reached. The ping command works by sending an ICMP echo request to check the network connectivity.

How do I know if my Ubuntu server has Internet?

Log into a terminal session. Type the command “ping 64.233. 169.104” (without quotation marks) to test the connection.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest