<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ping linux Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/ping-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 02 Sep 2018 20:06:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Ping Tutorial on Linux</title>
		<link>https://www.osradar.com/ping-tutorial-on-linux/</link>
					<comments>https://www.osradar.com/ping-tutorial-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[osradar_editor]]></dc:creator>
		<pubDate>Thu, 30 Aug 2018 04:37:49 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[ping arch]]></category>
		<category><![CDATA[ping arch linux]]></category>
		<category><![CDATA[ping guide]]></category>
		<category><![CDATA[ping linux]]></category>
		<category><![CDATA[ping linux mint]]></category>
		<category><![CDATA[ping tutorial]]></category>
		<category><![CDATA[ping ubuntu]]></category>
		<category><![CDATA[ubuntu ping]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=5520</guid>

					<description><![CDATA[<p>All the Linux distros come up with a number of default tools that can perform a number of tasks. Of course, you can use other 3rd-party apps and tools to perform more complex tasks. However, some of the basic tools are incredibly important and handy in different situations. Ping is definitely one of them. Today, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/ping-tutorial-on-linux/">Ping Tutorial on Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>All the Linux distros come up with a number of default tools that can perform a number of tasks. Of course, you can use other 3<sup>rd</sup>-party apps and tools to perform more complex tasks. However, some of the basic tools are incredibly important and handy in different situations. Ping is definitely one of them.</p>
<p>Today, let’s check out all the usage of “ping” tool on Linux.</p>
<h1>Basic “ping”</h1>
<p><img loading="lazy" class="size-full wp-image-5522 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/08/ping-image.png" alt="" width="900" height="562" srcset="https://www.osradar.com/wp-content/uploads/2018/08/ping-image.png 900w, https://www.osradar.com/wp-content/uploads/2018/08/ping-image-300x187.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/ping-image-768x480.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/ping-image-696x435.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/ping-image-673x420.png 673w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>At first, let’s check out the basics of “ping”. Fire up a terminal and run the following command –</p>
<pre class="">ping osradar.com</pre>
<p><img loading="lazy" class="size-full wp-image-5526 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/08/ping-1.png" alt="" width="1096" height="591" srcset="https://www.osradar.com/wp-content/uploads/2018/08/ping-1.png 1096w, https://www.osradar.com/wp-content/uploads/2018/08/ping-1-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/ping-1-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/ping-1-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/ping-1-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/ping-1-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/ping-1-779x420.png 779w" sizes="(max-width: 1096px) 100vw, 1096px" /></p>
<p>Here, we pinged OS Radar with 64 bytes of data. Note that the process is infinite, so you have to manually terminate the process by pressing “Ctrl + C”.</p>
<p><img loading="lazy" class="size-full wp-image-5527 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/08/ping-2-result.png" alt="" width="1093" height="115" srcset="https://www.osradar.com/wp-content/uploads/2018/08/ping-2-result.png 1093w, https://www.osradar.com/wp-content/uploads/2018/08/ping-2-result-300x32.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/ping-2-result-768x81.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/ping-2-result-1024x108.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/ping-2-result-696x73.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/ping-2-result-1068x112.png 1068w" sizes="(max-width: 1093px) 100vw, 1093px" /></p>
<p>You can identify the version of the “ping” tool by running the following command –</p>
<pre class="">ping -V</pre>
<h1><img loading="lazy" class="size-full wp-image-5528 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/08/PING-3-VERSION.png" alt="" width="1091" height="109" srcset="https://www.osradar.com/wp-content/uploads/2018/08/PING-3-VERSION.png 1091w, https://www.osradar.com/wp-content/uploads/2018/08/PING-3-VERSION-300x30.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/PING-3-VERSION-768x77.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/PING-3-VERSION-1024x102.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/PING-3-VERSION-696x70.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/PING-3-VERSION-1068x107.png 1068w" sizes="(max-width: 1091px) 100vw, 1091px" /></h1>
<h1>Advanced usage</h1>
<p><img loading="lazy" class="size-full wp-image-5523 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/08/advanced-usage-ping.jpg" alt="" width="1698" height="1131" srcset="https://www.osradar.com/wp-content/uploads/2018/08/advanced-usage-ping.jpg 1698w, https://www.osradar.com/wp-content/uploads/2018/08/advanced-usage-ping-300x200.jpg 300w, https://www.osradar.com/wp-content/uploads/2018/08/advanced-usage-ping-768x512.jpg 768w, https://www.osradar.com/wp-content/uploads/2018/08/advanced-usage-ping-1024x682.jpg 1024w, https://www.osradar.com/wp-content/uploads/2018/08/advanced-usage-ping-696x464.jpg 696w, https://www.osradar.com/wp-content/uploads/2018/08/advanced-usage-ping-1068x711.jpg 1068w, https://www.osradar.com/wp-content/uploads/2018/08/advanced-usage-ping-631x420.jpg 631w" sizes="(max-width: 1698px) 100vw, 1698px" /></p>
<p>Generally, “ping” continues pinging infinitely. However, you have the power to change the time it pings the target domain. Run the following command –</p>
<pre class="">ping -c 3 osradar.com</pre>
<p><img loading="lazy" class="size-full wp-image-5529 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/08/ping-4-10-times.png" alt="" width="1089" height="357" srcset="https://www.osradar.com/wp-content/uploads/2018/08/ping-4-10-times.png 1089w, https://www.osradar.com/wp-content/uploads/2018/08/ping-4-10-times-300x98.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/ping-4-10-times-768x252.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/ping-4-10-times-1024x336.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/ping-4-10-times-696x228.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/ping-4-10-times-1068x350.png 1068w" sizes="(max-width: 1089px) 100vw, 1089px" /></p>
<p>Here, “ping” will ping OS Radar for 10 times.</p>
<p>Do you need a different data packet size? Then run the following command –</p>
<pre class="">ping -s 100 osradar.com</pre>
<p><img loading="lazy" class="size-full wp-image-5530 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/08/ping-5-packet-size.png" alt="" width="1096" height="591" srcset="https://www.osradar.com/wp-content/uploads/2018/08/ping-5-packet-size.png 1096w, https://www.osradar.com/wp-content/uploads/2018/08/ping-5-packet-size-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/ping-5-packet-size-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/ping-5-packet-size-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/ping-5-packet-size-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/ping-5-packet-size-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/ping-5-packet-size-779x420.png 779w" sizes="(max-width: 1096px) 100vw, 1096px" /></p>
<p>This command will ping OS Radar with 108 bytes. That’s suffice to say that if you define X bytes, “ping” will ping with (X + 8) bytes.</p>
<p>Time is also a factor here. All the above examples were pinging continuously, infinitely. If you want to run “ping” for a certain period, then run this command –</p>
<pre class="">ping -w 5 osradar.com</pre>
<p><img loading="lazy" class="size-full wp-image-5531 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/08/ping-6-ping-for-10-seconds.png" alt="" width="1092" height="353" srcset="https://www.osradar.com/wp-content/uploads/2018/08/ping-6-ping-for-10-seconds.png 1092w, https://www.osradar.com/wp-content/uploads/2018/08/ping-6-ping-for-10-seconds-300x97.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/ping-6-ping-for-10-seconds-768x248.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/ping-6-ping-for-10-seconds-1024x331.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/ping-6-ping-for-10-seconds-696x225.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/ping-6-ping-for-10-seconds-1068x345.png 1068w" sizes="(max-width: 1092px) 100vw, 1092px" /></p>
<p>Here, “ping” will continue pinging OS Radar for 10 seconds. Need to put interval between each ping? Then run this command –</p>
<pre class="">ping -i 2 osradar.com</pre>
<p><img loading="lazy" class="size-full wp-image-5532 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/08/ping-7-every-2-seconds.png" alt="" width="1096" height="591" srcset="https://www.osradar.com/wp-content/uploads/2018/08/ping-7-every-2-seconds.png 1096w, https://www.osradar.com/wp-content/uploads/2018/08/ping-7-every-2-seconds-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/ping-7-every-2-seconds-768x414.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/ping-7-every-2-seconds-1024x552.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/ping-7-every-2-seconds-696x375.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/ping-7-every-2-seconds-1068x576.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/ping-7-every-2-seconds-779x420.png 779w" sizes="(max-width: 1096px) 100vw, 1096px" /></p>
<p>This command tells “ping” to ping OS Radar for Note that by default, “ping” pings the target domain every 1 second.</p>
<p>Need a noise every time “ping” pings successfully? Use this command –</p>
<pre class="">ping -a osradar.com</pre>
<p>In most of the cases, we don’t care about the continuous results of the ping. The final result is the most important part of all. If you want to run “ping” in a silent mode, then run the following command –</p>
<pre class="">ping -q -c 10 osradar.com</pre>
<p><img loading="lazy" class="size-full wp-image-5533 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/08/ping-8-q-c.png" alt="" width="1092" height="184" srcset="https://www.osradar.com/wp-content/uploads/2018/08/ping-8-q-c.png 1092w, https://www.osradar.com/wp-content/uploads/2018/08/ping-8-q-c-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/ping-8-q-c-768x129.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/ping-8-q-c-1024x173.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/ping-8-q-c-696x117.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/ping-8-q-c-1068x180.png 1068w" sizes="(max-width: 1092px) 100vw, 1092px" /></p>
<p>Make sure to run this command with “-c” parameter, otherwise it won’t show any result in the future.</p>
<p>Happy pinging!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/ping-tutorial-on-linux/">Ping Tutorial on Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/ping-tutorial-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
