<?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; bash</title>
	<atom:link href="https://blog.linuxexplore.com/tag/bash/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>How to find USB device in Linux</title>
		<link>https://blog.linuxexplore.com/2013/01/01/how-to-find-usb-device-in-linux/</link>
		<comments>https://blog.linuxexplore.com/2013/01/01/how-to-find-usb-device-in-linux/#comments</comments>
		<pubDate>Tue, 01 Jan 2013 11:52:18 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[/var/log/messages]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[Linux Howto]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[log messages]]></category>
		<category><![CDATA[messages]]></category>
		<category><![CDATA[script shell]]></category>
		<category><![CDATA[scsi device]]></category>
		<category><![CDATA[shell command]]></category>
		<category><![CDATA[shell script]]></category>
		<category><![CDATA[shell scripting]]></category>
		<category><![CDATA[shellscript]]></category>
		<category><![CDATA[sysfs]]></category>
		<category><![CDATA[UDEV]]></category>
		<category><![CDATA[udevadm]]></category>
		<category><![CDATA[udevinfo]]></category>
		<category><![CDATA[USB device]]></category>
		<category><![CDATA[usb storage]]></category>

		<guid isPermaLink="false">http://linuxexplore.com/?p=670</guid>
		<description><![CDATA[I wondered when I had to find the USB device name in Linux using shell script (shell command), it was little tricky, specially in case of UDEV. You can use different methods to get this like using udevinfo command, from sysfs, from /var/log/messages. Using udevinfo: for DEV in /dev/sd*; do udevinfo -q env -n $DEV&#8230;]]></description>
				<content:encoded><![CDATA[<p>I wondered when I had to find the <b>USB device</b> name in <b>Linux</b> using <b>shell script</b> (<b>shell command</b>), it was little tricky, specially in case of UDEV.</p>
<p style="text-align:justify;"><a href="http://linuxexplore.files.wordpress.com/2013/12/sushiusb.jpg"><img class="size-large wp-image-673" alt="KONICA MINOLTA DIGITAL CAMERA" src="http://linuxexplore.files.wordpress.com/2013/12/sushiusb.jpg?w=610" width="459" height="384" /></a></p>
<p>You can use different methods to get this like using <b>udevinfo</b> <b>command</b>, from <b>sysfs</b>, from <b>/var/log/messages</b>.</p>
<p><span style="text-decoration:underline;">Using <b>udevinfo</b>:</span></p>
<p><code><strong>for DEV in /dev/sd*; do<br />
udevinfo -q env -n $DEV 2&gt;/dev/null | grep "ID_BUS=usb";<br />
done</strong></code></p>
<p><span style="text-decoration:underline;">Using <b>sysfs</b>:</span></p>
<p>Change this according to your need.</p>
<p><code><strong>find /sys/bus/usb/drivers/usb-storage/[1-9]-[0-1]:1.0/|grep -wo sd[a-z]|head -1</strong></code></p>
<p><span style="text-decoration:underline;">Using <b>/var/log/messages</b>:</span></p>
<p>Grep the usb device in /var/log/messages file, when usb device is connected.</p>
<p>I hope USB device can be detected easily now.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2013/01/01/how-to-find-usb-device-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More Helpful Commands in Linux</title>
		<link>https://blog.linuxexplore.com/2012/08/24/more-helpful-commands-in-linux/</link>
		<comments>https://blog.linuxexplore.com/2012/08/24/more-helpful-commands-in-linux/#comments</comments>
		<pubDate>Thu, 23 Aug 2012 19:26:36 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[backdrop image]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[command line tools]]></category>
		<category><![CDATA[cut]]></category>
		<category><![CDATA[echo]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[inkscape]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[KStars]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Administrator]]></category>
		<category><![CDATA[Linux hacks]]></category>
		<category><![CDATA[Linux Howto]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[macros]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[SVG file]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=609</guid>
		<description><![CDATA[A backdrop of stars Difficulty: Easy Application: KStars You may already have played with KStars, but how about creating a KStars backdrop image that&#8217;s updated every time you start up? KStars can be run with the &#8211;dump switch, which dumps out an image from your startup settings, but doesn&#8217;t load the GUI at all. You&#8230;]]></description>
				<content:encoded><![CDATA[<h2>A backdrop of stars</h2>
<ul>
<li>Difficulty: Easy</li>
<li>Application: KStars</li>
</ul>
<p>You may already have played with KStars, but how about creating a KStars backdrop image that&#8217;s updated every time you start up?</p>
<p>KStars can be run with the &#8211;dump switch, which dumps out an image from your startup settings, but doesn&#8217;t load the GUI at all. You can create a script to run this and generate a desktop image, which will change every day (or you can just use this method to generate images).</p>
<p>Run KStars like this:</p>
<pre>kstars --dump --width 1024 --height 768 --filename = ~/kstarsback.png</pre>
<p>You can add this to a script in your ~/.kde/Autostart folder to be run at startup. Find the file in Konqueror, drag it to the desktop and select &#8216;Set as wallpaper&#8217; to use it as a randomly generated backdrop.</p>
<h2>Open an SVG directly</h2>
<ul>
<li>Difficulty: Easy</li>
<li>Application: Inkscape</li>
</ul>
<p>You can run Inkscape from a shell and immediately edit a graphic directly from a URL. Just type:</p>
<pre>inkscape <a href="http://www.somehost.com/graphic.svg" rel="nofollow">http://www.somehost.com/graphic.svg</a></pre>
<p>Remember to save it as something else though!</p>
<h2>Editing without an editor</h2>
<ul>
<li>Difficulty: Intermediate</li>
<li>Application: Various</li>
</ul>
<p>Very long files are often hard to manipulate with a text editor. If you need to do it regularly, chances are you&#8217;ll find it much faster to use some handy command-line tools instead, like in the following examples.</p>
<p>To print columns eg 1 and 3 from a file file1 into file2, we can use awk:</p>
<pre>awk '{print $1, $3}' file1 &gt; file2</pre>
<p>To output only characters from column 8 to column 15 of file1, we can use cut:</p>
<pre>cut -c 8-15 file1 &gt; file2</pre>
<p>To replace the word word1 with the word word2 in the file file1, we can use the sed command:</p>
<pre>sed "s/word1/word2/g" file1 &gt; file2</pre>
<p>This is often a quicker way to get results than even opening a text editor.</p>
<h2>Backup selected files only</h2>
<ul>
<li>Difficulty: Intermediate</li>
<li>Application: tar</li>
</ul>
<p>Want to use tar to backup only certain files in a directory? Then you&#8217;ll want to use the -T flag as follows. First, create a file with the file you want to backup:</p>
<pre>cat &gt;&gt; /etc/backup.conf
# /etc/passwd
# /etc/shadow
# /etc/yp.conf
# /etc/sysctl.conf
EOF</pre>
<p>Then run tar with the -T flag pointing to the file just created:</p>
<pre>tar -cjf bck-etc-`date +%Y-%m-%d`.tar.bz2 -T /etc/backup.conf</pre>
<p>Now you have your backup.</p>
<p><a href="http://www.intowire.com/iWiRE/blog/view/57463/more-helpful-commands-in-linux#.UDZyp9Pzxw4.wordpress">Read more&#8230;&#8230;</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/08/24/more-helpful-commands-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Look what Stella brought to CentOS 6.3, Desktop OS based on Centos</title>
		<link>https://blog.linuxexplore.com/2012/08/08/look-what-stella-brought-to-centos-6-3-desktop-os-based-on-centos/</link>
		<comments>https://blog.linuxexplore.com/2012/08/08/look-what-stella-brought-to-centos-6-3-desktop-os-based-on-centos/#comments</comments>
		<pubDate>Wed, 08 Aug 2012 16:40:54 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore How to]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[CentOS 6.3]]></category>
		<category><![CDATA[CentOS update]]></category>
		<category><![CDATA[core enterprise]]></category>
		<category><![CDATA[default media player]]></category>
		<category><![CDATA[Desktop OS]]></category>
		<category><![CDATA[enterprise-it]]></category>
		<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[Libreoffice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Administrator]]></category>
		<category><![CDATA[Linux games]]></category>
		<category><![CDATA[Linux hacks]]></category>
		<category><![CDATA[Linux Howto]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Media Player]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Openoffice]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[ROMP]]></category>
		<category><![CDATA[ROSA Media Player]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Stella]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[video file formats]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[VLC]]></category>
		<category><![CDATA[VLC player]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=575</guid>
		<description><![CDATA[There is a new Linux distribution released almost every week, sometimes, even every day. The latest is one called Stella, and the first version is Stella 6.3. Stella is a desktop-focused remix of CentOS, and Stella 6.3 is based on CentOS 6.3. If you are familiar with CentOS, you know that out of the box,&#8230;]]></description>
				<content:encoded><![CDATA[<p>There is a new Linux distribution released almost every week, sometimes, even every day. The latest is one called Stella, and the first version is Stella 6.3. Stella is a desktop-focused remix of <a href="http://linuxbsdos.com/category/centos" rel="nofollow">CentOS</a>, and Stella 6.3 is based on CentOS 6.3.</p>
<p>If you are familiar with CentOS, you know that out of the box, it is not really designed as a desktop distribution. Stella changes all that, as it is primarily aimed at desktop users, while retaining the core enterprise features and capabilities of CentOS.</p>
<p>And you can see that just by looking at the package manager. The package categories tell you that everything you can find in CentOS is also available in Stella. Plus desktop applications that you will not find in any default installation of CentOS. For example, an application listed in the screen shot below, is <a href="http://www.linuxbsdos.com/2012/04/10/romp-media-player-with-built-in-desktop-recorder/" rel="nofollow">ROSA Media Player</a> (ROMP), the default media player in <a href="http://www.linuxbsdos.com/category/rosa-desktop/" rel="nofollow">ROSA Desktop</a>, a distribution based on <a href="http://linuxbsdos.com/category/mandriva" rel="nofollow">Mandriva</a> Linux.</p>
<p style="text-align:center;"><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress"><img src="http://linuxexplore.files.wordpress.com/2012/08/stelladesktop8-600x469.png" alt="" /></a></p>
<p>Because it is loaded with desktop applications and media codecs not available in CentOS, you can play most audio and video file formats out of the box. Here it shows a favorite online video playing in Firefox.</p>
<p style="text-align:center;"><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress"><img src="http://linuxexplore.files.wordpress.com/2012/08/stelladesktop7-600x450.png" alt="" /></a></p>
<p>The next few screen shots show what the desktop looks like and some of the applications accessible from the menu. This one shows installed Internet applications.</p>
<p style="text-align:center;"><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress"><img src="http://linuxexplore.files.wordpress.com/2012/08/stelladesktop1-600x450.png" alt="" /></a></p>
<p>Installed Office applications.</p>
<p style="text-align:center;"><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress"><img src="http://linuxexplore.files.wordpress.com/2012/08/stelladesktop2-600x450.png" alt="" /></a></p>
<p>Installed multimedia applications.</p>
<p style="text-align:center;"><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress"><img src="http://linuxexplore.files.wordpress.com/2012/08/stelladesktop3-600x450.png" alt="" /></a></p>
<p>Updates manager.</p>
<p style="text-align:center;"><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress"><img src="http://linuxexplore.files.wordpress.com/2012/08/stelladesktop4-600x450.png" alt="" /></a></p>
<p><a href="http://www.intowire.com/iWiRE/blog/view/52955/look-what-stella-brought-to-centos-63-desktop-os-based-on-centos#.UCKUDqSEaAM.wordpress">Read full story</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/08/08/look-what-stella-brought-to-centos-6-3-desktop-os-based-on-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can Linux crashes in just one command?</title>
		<link>https://blog.linuxexplore.com/2012/07/29/can-linux-crashes-in-just-one-command/</link>
		<comments>https://blog.linuxexplore.com/2012/07/29/can-linux-crashes-in-just-one-command/#comments</comments>
		<pubDate>Sun, 29 Jul 2012 10:30:02 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[fork bomb]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[limits.conf]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux crash]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[ulimit]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=503</guid>
		<description><![CDATA[After a very nice discussion over Linux vs Windows between the group members, all the Linux &#38; Windows supporter was trying to prove their OS better. One of the Windows supporter write a text string (can say a command) to execute in a Linux terminal, which can crash it in just one enter. WARNING!!!: DON&#8217;T&#8230;]]></description>
				<content:encoded><![CDATA[<p>After a very nice discussion over Linux vs Windows between the group members, all the Linux &amp; Windows supporter was trying to prove their OS better.</p>
<p>One of the Windows supporter write a text string (can say a command) to execute in a Linux terminal, which can crash it in just one enter.</p>
<p><span style="color:#ff0000;"><strong>WARNING!!!:</strong> DON&#8217;T USE THIS IN YOUR RUNNING SYSTEM, YOU CAN CRASH IT WITH JUST ONE ENTER. IF YOU DO THAT ONLY YOU WILL BE RESPONSIBLE FOR THE CONSEQUENCES.</span></p>
<pre style="padding-left:30px;"># :(){ :|:&amp; };:</pre>
<p>And truly this command was doing the same, CRASHING THE LINUX IN JUST ONE ENTER.</p>
<p>Solution must be there, off course it is.</p>
<p style="text-align:center;"><a href="http://linuxexplore.files.wordpress.com/2012/07/300px-fork_bomb-svg.png"><img class="aligncenter size-full wp-image-505" title="300px-Fork_bomb.svg" src="http://linuxexplore.files.wordpress.com/2012/07/300px-fork_bomb-svg.png" alt="Fork bomb" width="300" height="185" /></a></p>
<p><a href="http://www.intowire.com/iWiRE/blog/view/45603/can-linux-crashes-in-just-one-command#.UBUNCHWhWoE.wordpress">Read full story</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/07/29/can-linux-crashes-in-just-one-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding the biggest files in Linux</title>
		<link>https://blog.linuxexplore.com/2012/07/28/finding-the-biggest-files-in-linux/</link>
		<comments>https://blog.linuxexplore.com/2012/07/28/finding-the-biggest-files-in-linux/#comments</comments>
		<pubDate>Fri, 27 Jul 2012 19:04:53 +0000</pubDate>
		<dc:creator><![CDATA[linuxexplore]]></dc:creator>
				<category><![CDATA[Linux Explore Tips & Tricks]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[biggest file]]></category>
		<category><![CDATA[exec]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[heaad]]></category>
		<category><![CDATA[intowire]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[type]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://linuxexplore.wordpress.com/?p=489</guid>
		<description><![CDATA[A common problem with computers is when you have a number of large files (such as audio/video clips) that you may want to get rid of. You can find the biggest files in the current directory with: ( only in current directory ) ls -lSrh (the r causes the large files to be listed at&#8230;]]></description>
				<content:encoded><![CDATA[<p>A common problem with computers is when you have a number of large files (such as audio/video clips) that you may want to get rid of. You can find the biggest files in the current directory with: ( only in current directory )</p>
<blockquote><p>ls -lSrh (the r causes the large files to be listed at the end, the h gives human readable output (MB and such))</p></blockquote>
<p>You could also search for the biggest MP3/MPEGs:</p>
<blockquote><p>ls -lSrh *.mp*</p></blockquote>
<p>You can also look for the largest directories with:</p>
<blockquote><p>du -kx | egrep -v &#8220;./.+/&#8221; | sort -n</p></blockquote>
<p>You can find the biggest files in your home directory, ( in the whole directory structure ).</p>
<blockquote><p>find ~ -type f -exec ls -s {} ; | sort -n</p></blockquote>
<p>List only the top 10 biggest file.</p>
<blockquote><p>find . -type f -exec ls -s {} ; | sort -nr | head -10</p></blockquote>
<p><a href="http://www.intowire.com/iWiRE/blog/view/7597/finding-the-biggest-files#.UBLkFcOKybw.wordpress" target="_blank">Read full story</a></p>
]]></content:encoded>
			<wfw:commentRss>https://blog.linuxexplore.com/2012/07/28/finding-the-biggest-files-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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>
