music

ping

summary

This subchapter looks at ping, a UNIX (and Linux) command.

ping is used to test a server connection.

free book on UNIX/Linux System Administration

Teach Yourself UNIX/Linux System Administration and Shell Programming

free computer programming text book project

table of contents
If you like the idea of this project,
then please donate some money.
more information on donating

ping

This subchapter looks at ping, a UNIX (and Linux) command.

ping is used to test a server connection.

test packets

ping sends test packets to a specific server to see if the server responds properly.

Type ping followed by -c count followed by an IP address or domain name.

ping will continue forever unless halted or you give a specific count limit.

$ ping -c 5 www.osdata.com
PING osdata.com (67.18.4.2): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=127 time=18.801 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=127 time=9.918 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=127 time=17.216 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=127 time=6.748 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=127 time=30.640 ms

--- 192.168.0.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 6.748/16.665/30.640/8.295 ms
$

ping will quickly either return a report or will say destination host unreachable on failure.

measuring

You can measure the dropped packet rate and the minimum, mean, maximum, and standard deviation of round-trip times.

When using ping for testing, start by pinging local host to verify that the local network interface is up and running. Then ping hosts and gateways further away.

other

On November 8, 2010, Ramesh Natarajan named this the number 48 most frequently used UNIX/Linux command at this web page 50 Most Frequently Used UNIX / Linux Commands (With Examples).

In June 2009, Ken Milberg named this command as one of the Top 50 universal UNIX commands at this web page Top 50 Universal INIX commands. Note that this web page requires agreeing to be spammed before you can read it.


comments, suggestions, corrections, criticisms

please contact us

your name:
email address:
phone number:
message:

free music player coding example

Coding example: I am making heavily documented and explained open source code for a method to play music for free — almost any song, no subscription fees, no download costs, no advertisements, all completely legal. This is done by building a front-end to YouTube (which checks the copyright permissions for you).

View music player in action: www.musicinpublic.com/.

Create your own copy from the original source code/ (presented for learning programming).


return to table of contents
free downloadable college text book
free downloadable system administrator and shell programming book

view text book
HTML file

Because I no longer have the computer and software to make PDFs, the book is available as an HTML file, which you can convert into a PDF.

previous page next page
previous page next page
Tweets by @osdata

free book on UNIX/Linux System Administration

Teach Yourself UNIX/Linux System Administration and Shell Programming

free computer programming text book project

Building a free downloadable text book on computer programming for university, college, community college, and high school classes in computer programming.

If you like the idea of this project,
then please donate some money.

send donations to:
Milo
PO Box 1361
Tustin, California 92781

Supporting the entire project:

If you have a business or organization that can support the entire cost of this project, please contact Pr Ntr Kmt (my church)

more information on donating

Some or all of the material on this web page appears in the
free downloadable college text book on computer programming.



[画像:Made with Macintosh]

This web site handcrafted on Macintosh computers using Tom Bender’s Tex-Edit Plus and served using FreeBSD .

Viewable With Any Browser


UNIX used as a generic term unless specifically used as a trademark (such as in the phrase “UNIX certified”). UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Ltd.

Names and logos of various OSs are trademarks of their respective owners.

Copyright © 2012 Milo

Created: February 27, 2012

Last Updated: June 26, 2012


return to table of contents
free downloadable college text book
free downloadable system administrator and shell programming book

Quantcast

AltStyle によって変換されたページ (->オリジナル) /