<?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>Matejunkie &#187; shell commands</title>
	<atom:link href="http://www.matejunkie.com/tag/shell-commands/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.matejunkie.com</link>
	<description>"Look behind you, a Three-Headed Monkey!"</description>
	<lastBuildDate>Thu, 07 Jan 2010 14:26:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>The Top 10 of your most used UNIX commands</title>
		<link>http://www.matejunkie.com/the-top-10-of-your-most-used-unix-commands/</link>
		<comments>http://www.matejunkie.com/the-top-10-of-your-most-used-unix-commands/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 09:30:30 +0000</pubDate>
		<dc:creator>Mike Adolphs</dc:creator>
				<category><![CDATA[Binary Talks]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell commands]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.matejunkie.com/?p=1192</guid>
		<description><![CDATA[Almost three years ago Uwe Hermann posted a one-liner in his blog which was mentioned in an article from IBM called UNIX Productivity tips. It shows you the ten most used commands on your local machine and I think it&#8217;s time to revive this habit. Do the following on your console and see what you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>Almost three years ago Uwe Hermann <a title="Uwe Hermann - The Top Ten Unix shell commands you use" href="http://www.hermann-uwe.de/blog/the-top-ten-unix-shell-commands-you-use" target="_blank">posted a one-liner</a> in his blog which was mentioned in an <a title="IBM - UNIX Productivity tips" href="http://www.ibm.com/developerworks/aix/library/au-productivitytips.html?ca=dgr-lnxw07UNIX-Office-Tips" target="_blank">article from IBM</a> called UNIX Productivity tips. It shows you the ten most used commands on your local machine and I think it&#8217;s time to revive this habit.</p>
<p>Do the following on your console and see what you&#8217;re frequently using:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">user<span style="color: #000000; font-weight: bold;">@</span>host: ~ $ <span style="color: #7a0874; font-weight: bold;">history</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $2}'</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'BEGIN {FS=&quot;|&quot;} {print $1}'</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">sort</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">uniq</span> -c<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">sort</span> -rn<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">head</span> <span style="color: #660033;">-10</span></pre></div></div>

<p>This is the result of my workstation which now runs for about 1 1/2 months with a current total of 8.000 commands:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">   <span style="color: #000000;">1987</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span>
    <span style="color: #000000;">767</span> <span style="color: #c20cb9; font-weight: bold;">ls</span>
    <span style="color: #000000;">746</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span>
    <span style="color: #000000;">349</span> <span style="color: #000000; font-weight: bold;">for</span>
    <span style="color: #000000;">267</span> <span style="color: #7a0874; font-weight: bold;">cd</span>
    <span style="color: #000000;">259</span> <span style="color: #7a0874; font-weight: bold;">exit</span>
    <span style="color: #000000;">231</span> <span style="color: #c20cb9; font-weight: bold;">vim</span>
    <span style="color: #000000;">156</span> <span style="color: #c20cb9; font-weight: bold;">svn</span>
    <span style="color: #000000;">154</span> <span style="color: #c20cb9; font-weight: bold;">ping</span>
    <span style="color: #000000;">130</span> <span style="color: #7a0874; font-weight: bold;">pwd</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.matejunkie.com/the-top-10-of-your-most-used-unix-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
