Categories
Linux Tutorial Series

Linux Tutorial Series – 166 – The ping command

Here is the video version, if you prefer it:

The ping command is used to check if your Internet connection is working properly.

Here is its syntax: (Shotts, 2019)⁠

ping internetAddress

An example:

mislav@mislavovo-racunalo:~$ ping www.google.com

PING www.google.com (172.217.16.100) 56(84) bytes of data.

64 bytes from bud02s25-in-f4.1e100.net (172.217.16.100): icmp_seq=1 ttl=55 time=14.2 ms

64 bytes from bud02s25-in-f4.1e100.net (172.217.16.100): icmp_seq=2 ttl=55 time=16.9 ms

^C

--- www.google.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 3ms

rtt min/avg/max/mdev = 14.244/15.552/16.861/1.314 ms

Focus on the 0% packet loss here. If it was 100% packet loss, then I would know something is wrong with my network.

Thank you for reading!

References

Shotts, W. (2019). The Linux Command Line, Fifth Internet Edition. Retrieved from http://linuxcommand.org/tlcl.php. Pages 226-227

NewsletterUpdates on interesting things I am doing

Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.

Leave a Reply

Your email address will not be published. Required fields are marked *