<?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>Linux Explore &#187; date</title>
	<atom:link href="https://blog.linuxexplore.com/tag/date/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.linuxexplore.com</link>
	<description>Exploring Linux</description>
	<lastBuildDate>Mon, 07 Apr 2014 00:30:50 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>date/time stamp in ping command</title>
		<link>https://blog.linuxexplore.com/2012/07/22/datetime-stamp-in-ping-command/</link>
		<comments>https://blog.linuxexplore.com/2012/07/22/datetime-stamp-in-ping-command/#comments</comments>
		<pubDate>Sun, 22 Jul 2012 10:49:39 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[echo]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux hacks]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[xargs]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=464</guid>
		<description><![CDATA[Most of you are very familiar with ping command which is most commonly used to check any network device is alive or not. A very simple and useful command. And if we can add date/time stamp in it, it will be more helpful to generate a good statistics. It is very easy in Linux without&#8230;]]></description>
				<content:encoded><![CDATA[<div>
<p>Most of you are very familiar with <strong><em>ping</em></strong> command which is most commonly used to check any network device is alive or not. A very simple and useful command. And if we can add <strong><em>date/time</em> </strong>stamp in it, it will be more helpful to generate a good statistics. It is very easy in Linux without doing any extra development, simply need to combine few commands to work together.</p>
<p>You can combine few commands, to tweak the ping command as follows:</p>
<blockquote><p>ping localhost | xargs -n1 -i bash -c &#8216;echo `date +%F %T`&#8221; {}&#8221;&#8216;</p></blockquote>
<p>For more information, <a href="http://www.intowire.com/iWiRE/groups/profile/5049/linux-explore" target="_blank">Click here</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/07/22/datetime-stamp-in-ping-command/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
