How to ping and test for a specific port from Linux or Unix command line

Description

Linux and Unix ping command tutorial with examples
If the host is not on a directly-attached network, an error is returned. Cookies make wikiHow better. It will check after if the command succeeds. Because of the load it can impose on the network, it is unwise to use ping during normal operations or from automated scripts. If an interval is not given see -i , below , it sets interval to zero and outputs packets as fast as they come back or one hundred times per second, whichever is more. The default is to wait for one second between each packet normally, or not to wait at all in flood mode see -f , above.

Table of contents

How to Ping on Linux

It is apparently also an ingredient in some weight loss products as hydroxycitric acid. Oz promoted it and continues to assert that garcinia cambogia is an effective aid to weight loss. The claims for weight loss are nothing short of outlandish and there is real science that suggests the whole thing is a hoax.

Pinging From the Command Line

Leave a Reply

10 “ping” Command Usage Examples in Linux Posted on December 26, by Manish This tutorial explains Linux “ping” command, options and its usage with examples. ping is a simple way to send network data to, and receive network data from, another computer on a network. It is frequently used to test, at the most basic level, whether another system is reachable over a network, and if so, how much time it takes for that data to be exchanged. The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via .