How to Ping on Linux
Today's TipsMake will show you how to test the connection between a Linux computer and another computer using the 'ping' command. You can also use an advanced version of the 'ping' command called 'traceroute' to see which different IP addresses a computer requires to be routed to in order to reach another computer address.
Use the ping command
Open Terminal on your computer. Click or double-click the Terminal app icon with a black frame with a white ">_" symbol inside, or you can press Ctrl+ Alt+ T.
Enter the "ping" command. Enter pingalong with the website or IP address where you want to test the connection.
For example, to test the connection between Facebook and your computer, you need to enter ping www.facebook.com.
Press ↵ Enter. The "ping" command will be executed and begin sending requests to the specific address.
See ping speed. To the right of each line appear numbers with "ms" units; this is the number of milliseconds it takes the target computer to respond to your data request.
The smaller the number of seconds, the faster the connection speed between the current computer and another computer/website.
When you ping a web address in Terminal, the second line will display the IP address of the website you are testing. You can take advantage of this to ping websites instead of IP addresses.
Stop the ping process. The "ping" command will execute indefinitely; To stop, press Ctrl+ C. This will stop the command and display the ping results below the "^C" line.
To see the average time it takes another computer to respond, look at the number after the first slash (/) in the line below "# packets transmitted, # received".
Use the traceroute command
Open Terminal on your computer. Click or double-click the Terminal app icon with a black frame with a white ">_" symbol inside, or press Ctrl+ Alt+ T.
Enter the command "traceroute". Enter traceroutealong with the IP address or website you want to track.
For example, to trace the route from your router to the Facebook server, we need to enter traceroute www.facebook.com.
Press ↵ Enter. The "traceroute" command will be executed.
View the route you requested. To the left of each line that appears is the IP address of the router through which your tracing request is processed. You'll also see the number of milliseconds the process took to happen to the right of the line.
If an asterisk appears in one of the routes, it means that the server to which the computer intended to connect has timed out, in which case another address will be tried.
The traceroute command will time out after reaching the destination.
You should read it
- How to Ping in Linux
- How to use the Ping command in Linux
- What is PING? How is PING Test?
- How to show Fortnite ping, reduce Fortnite ping
- Fix high ping errors when playing games
- Why is the Ping time so high in Windows 11/10
- 10 best Ping monitoring software and tools
- Top 3 best ping reducing software
- Disable PING response in Windows
- Fix high Ping error on Windows 10, 11 effectively
- What is a ping? Ping instructions to test the network and explain the parameters
- What is Ping? How to check Ping on computer
Maybe you are interested
How to enable TPM 2.0 to fix 'This PC Can't Run Windows 11' error How to check TPM version before upgrading to Windows 11 LG 27GP850 monitor review: 2K 180Hz resolution, harmonizing gaming and creative work Thanks to Windows 11, the part that nobody cared about before suddenly became in short supply, increasing the price many times Microsoft explains why Windows 11 requires TPM 2.0 What is TPM 2.0? What does TPM do?