<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Four Completely Useless Linux Commands</title>
	<atom:link href="http://www.thegeekstuff.com/2009/02/four-useless-linux-commands/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thegeekstuff.com/2009/02/four-useless-linux-commands/</link>
	<description>Guides, HowTos and Tips for Technology Geeks</description>
	<lastBuildDate>Thu, 09 Feb 2012 11:52:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Kevin Frank</title>
		<link>http://www.thegeekstuff.com/2009/02/four-useless-linux-commands/comment-page-1/#comment-107672</link>
		<dc:creator>Kevin Frank</dc:creator>
		<pubDate>Fri, 03 Jun 2011 20:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=370#comment-107672</guid>
		<description>I agree.  These commands are useless.  Here is a useless application of yes.

touch junk1 junk2 junk3
chmod -w junk*
rm junk*
&quot;nothing happens&quot;
yes &#124; rm junk*
&quot;junk files are removed&quot;

Regards,
Kevin</description>
		<content:encoded><![CDATA[<p>I agree.  These commands are useless.  Here is a useless application of yes.</p>
<p>touch junk1 junk2 junk3<br />
chmod -w junk*<br />
rm junk*<br />
&#8220;nothing happens&#8221;<br />
yes | rm junk*<br />
&#8220;junk files are removed&#8221;</p>
<p>Regards,<br />
Kevin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cras</title>
		<link>http://www.thegeekstuff.com/2009/02/four-useless-linux-commands/comment-page-1/#comment-103600</link>
		<dc:creator>cras</dc:creator>
		<pubDate>Mon, 16 May 2011 11:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=370#comment-103600</guid>
		<description>yes is insanely useful, and I use it every day for rm -r dir/with/lots/of/children/ &#124; yes as I have confirmation aliased in.

As said before, rev is handy for getting the last character/line and in scripts in general.

ul is really just a curiousity nowadays, but is used for typesetting (presumably in man pages and the like). If you don&#039;t know what troff is then you will never need it :)

vdir is usually an alias for &quot;ls -la&quot;, and is one character shorter (or two characters longer if it&#039;s in your .bashrc). Again, a bit of a curiosity.</description>
		<content:encoded><![CDATA[<p>yes is insanely useful, and I use it every day for rm -r dir/with/lots/of/children/ | yes as I have confirmation aliased in.</p>
<p>As said before, rev is handy for getting the last character/line and in scripts in general.</p>
<p>ul is really just a curiousity nowadays, but is used for typesetting (presumably in man pages and the like). If you don&#8217;t know what troff is then you will never need it <img src='http://www.thegeekstuff.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>vdir is usually an alias for &#8220;ls -la&#8221;, and is one character shorter (or two characters longer if it&#8217;s in your .bashrc). Again, a bit of a curiosity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VIKAS</title>
		<link>http://www.thegeekstuff.com/2009/02/four-useless-linux-commands/comment-page-1/#comment-42629</link>
		<dc:creator>VIKAS</dc:creator>
		<pubDate>Tue, 13 Apr 2010 07:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=370#comment-42629</guid>
		<description>&quot;yes&quot; commands is definitely useful.

It can be used to run infinite loops without using crontab

For e.g.
yes &quot;date;sleep 1&quot; &#124; sh</description>
		<content:encoded><![CDATA[<p>&#8220;yes&#8221; commands is definitely useful.</p>
<p>It can be used to run infinite loops without using crontab</p>
<p>For e.g.<br />
yes &#8220;date;sleep 1&#8243; | sh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhishek</title>
		<link>http://www.thegeekstuff.com/2009/02/four-useless-linux-commands/comment-page-1/#comment-20100</link>
		<dc:creator>abhishek</dc:creator>
		<pubDate>Thu, 22 Oct 2009 12:30:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=370#comment-20100</guid>
		<description>yes can be used to generate very large files for simple testing of some filer applications or wherever you need to generate a garbage big file.

yes abhishek &gt; testfile
:)</description>
		<content:encoded><![CDATA[<p>yes can be used to generate very large files for simple testing of some filer applications or wherever you need to generate a garbage big file.</p>
<p>yes abhishek &gt; testfile<br />
 <img src='http://www.thegeekstuff.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nanjundi</title>
		<link>http://www.thegeekstuff.com/2009/02/four-useless-linux-commands/comment-page-1/#comment-6076</link>
		<dc:creator>Nanjundi</dc:creator>
		<pubDate>Thu, 19 Feb 2009 17:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=370#comment-6076</guid>
		<description>Ziemowit Pierzycki, 
s/xarg/awk/</description>
		<content:encoded><![CDATA[<p>Ziemowit Pierzycki,<br />
s/xarg/awk/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manas</title>
		<link>http://www.thegeekstuff.com/2009/02/four-useless-linux-commands/comment-page-1/#comment-6057</link>
		<dc:creator>manas</dc:creator>
		<pubDate>Thu, 19 Feb 2009 08:21:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=370#comment-6057</guid>
		<description>I never use &quot;clear&quot; command. Whats the point of it? I can always clear my terminal using Ctrl+L.</description>
		<content:encoded><![CDATA[<p>I never use &#8220;clear&#8221; command. Whats the point of it? I can always clear my terminal using Ctrl+L.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tony</title>
		<link>http://www.thegeekstuff.com/2009/02/four-useless-linux-commands/comment-page-1/#comment-6038</link>
		<dc:creator>tony</dc:creator>
		<pubDate>Thu, 19 Feb 2009 00:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=370#comment-6038</guid>
		<description>vdir (4 chars)
ls -lb (6 chars)

You would type less whenever you can in *nix world.</description>
		<content:encoded><![CDATA[<p>vdir (4 chars)<br />
ls -lb (6 chars)</p>
<p>You would type less whenever you can in *nix world.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Gray</title>
		<link>http://www.thegeekstuff.com/2009/02/four-useless-linux-commands/comment-page-1/#comment-6028</link>
		<dc:creator>David Gray</dc:creator>
		<pubDate>Wed, 18 Feb 2009 20:06:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=370#comment-6028</guid>
		<description>Actually the colon (null command) is quite useful [see Feb 3 comment].

Say you have a script with lines that might be enabled later (as in a skeleton for installation).  Since If/then/elif/fi won&#039;t work with nothing in its clauses one can do the following.
     if [[ $self == intall* ]] then  :
     #   install_it
     elif [[ $self == backout* ]] then  :
     #   unistall_it
     fi
One need not bother removing the colon when lines are uncommented.

Another use is when you only need a side effect.  If the variable &quot;self&quot; has not already been set, the code below will concisely assign it to the invoking script&#039;s name with any path data stripped off.
     :  ${self:=${0##*/}}</description>
		<content:encoded><![CDATA[<p>Actually the colon (null command) is quite useful [see Feb 3 comment].</p>
<p>Say you have a script with lines that might be enabled later (as in a skeleton for installation).  Since If/then/elif/fi won&#8217;t work with nothing in its clauses one can do the following.<br />
     if [[ $self == intall* ]] then  :<br />
     #   install_it<br />
     elif [[ $self == backout* ]] then  :<br />
     #   unistall_it<br />
     fi<br />
One need not bother removing the colon when lines are uncommented.</p>
<p>Another use is when you only need a side effect.  If the variable &#8220;self&#8221; has not already been set, the code below will concisely assign it to the invoking script&#8217;s name with any path data stripped off.<br />
     :  ${self:=${0##*/}}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Dudeck</title>
		<link>http://www.thegeekstuff.com/2009/02/four-useless-linux-commands/comment-page-1/#comment-6021</link>
		<dc:creator>John Dudeck</dc:creator>
		<pubDate>Wed, 18 Feb 2009 16:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=370#comment-6021</guid>
		<description>I wrote an equivalent of &#039;rev&#039; for dos. I use it to reverse the order of a list of domains or email addresses, then I sort them, then reverse them back. This gives me a list that is grouped together by domain name.</description>
		<content:encoded><![CDATA[<p>I wrote an equivalent of &#8216;rev&#8217; for dos. I use it to reverse the order of a list of domains or email addresses, then I sort them, then reverse them back. This gives me a list that is grouped together by domain name.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hariharasubramanian</title>
		<link>http://www.thegeekstuff.com/2009/02/four-useless-linux-commands/comment-page-1/#comment-5623</link>
		<dc:creator>hariharasubramanian</dc:creator>
		<pubDate>Mon, 09 Feb 2009 04:21:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=370#comment-5623</guid>
		<description>In some other cases ( for the user development) the rev command can be used. Also if we want to encrypt the data and sent it to some other place, we can use rev command.  (It&#039;s low level security encryption).

Also if we want to get the last character of the file in each line, we can use this command. According to the user need, we can use the command.</description>
		<content:encoded><![CDATA[<p>In some other cases ( for the user development) the rev command can be used. Also if we want to encrypt the data and sent it to some other place, we can use rev command.  (It&#8217;s low level security encryption).</p>
<p>Also if we want to get the last character of the file in each line, we can use this command. According to the user need, we can use the command.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: static.thegeekstuff.com

Served from: www.thegeekstuff.com @ 2012-02-09 12:22:24 -->
