<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Spikes Of Nothingness - history tag</title>
  <link>http://weblog.flop.ca/tags/history/</link>
  <description>Florin T.PATRASCU&#039;s blog</description>
  <language>en</language>
  <copyright>Florin T.PATRASCU</copyright>
  <lastBuildDate>Sat, 12 May 2012 02:12:08 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>When is the time to create an alias for the most used commands?</title>
    <link>http://weblog.flop.ca/2007/04/28/1177776166534.html</link>
    
      
        <description>
          &lt;font size=&#034;3&#034;&gt; The &lt;a href=&#034;http://www.computerhope.com/unix/ualias.htm&#034;&gt;&lt;code&gt;alias&lt;/code&gt;&lt;/a&gt; command allows you to create your own names or abbreviations for commands by performing string substitution on the command line according to your specifications. But how do you identify the commands you&#039;re using very often? Statistics! Well, sort of ;)&lt;br /&gt;
&lt;br /&gt;
Here is a good way to run some stats:&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;font size=&#034;3&#034;&gt;&lt;span style=&#034;background-color: rgb(255, 255, 0);&#034;&gt;&lt;/span&gt;&lt;/font&gt;&lt;font size=&#034;2&#034;&gt;&lt;strong&gt;&lt;span style=&#034;background-color: rgb(204, 255, 204);&#034;&gt;$ history | awk &#039;{print $2}&#039; | awk &#039;BEGIN {FS=&amp;quot;|&amp;quot;} {print $1}&#039;| sort | uniq -c | sort -r&lt;/span&gt;&lt;br style=&#034;background-color: rgb(204, 255, 204);&#034; /&gt;
&lt;br /&gt;
&lt;/strong&gt;&lt;font size=&#034;3&#034;&gt;What do you think?&lt;br /&gt;
&lt;/font&gt; &lt;/font&gt;
&lt;p&gt;&lt;font size=&#034;2&#034;&gt;  &lt;/font&gt;&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>osx</category>
    
    <comments>http://weblog.flop.ca/2007/04/28/1177776166534.html#comments</comments>
    <guid isPermaLink="true">http://weblog.flop.ca/2007/04/28/1177776166534.html</guid>
    <pubDate>Sat, 28 Apr 2007 16:02:46 GMT</pubDate>
  </item>
  
  </channel>
</rss>

