Those are awesome tips Eric. After I read this I thought of two instances earlier today where alt . would have made things easier.<br><br><div class="gmail_quote">On Mon, May 10, 2010 at 12:57 PM, Eric Junker <span dir="ltr">&lt;<a href="mailto:eric@eric.nu">eric@eric.nu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On 5/10/2010 11:28 AM, Matthew Nuzum wrote:<br>
&gt; In code there are profilers that inspect program execution and<br>
&gt; highlight repeating tasks that are inefficient. Is there anything<br>
&gt; like that for the commandline? Maybe I could run it over my<br>
&gt; .bash_history file or it could watch me type.<br>
<br>
</div>This article shows how to analyze your bash history and talks about<br>
creating Bash aliases/functions to minimize typing.<br>
<br>
<a href="http://www.oreillynet.com/onlamp/blog/2007/01/whats_in_your_bash_history.html" target="_blank">http://www.oreillynet.com/onlamp/blog/2007/01/whats_in_your_bash_history.html</a><br>
<br>
I&#39;ve found lots of good command line tips at<br>
<a href="http://www.commandlinefu.com/commands/browse/sort-by-votes" target="_blank">http://www.commandlinefu.com/commands/browse/sort-by-votes</a><br>
<br>
A few of my favorite commands<br>
&quot;cd -&quot; to change to the previous working directory<br>
&quot;ALT+.&quot; to insert the argument of the last command<br>
<br>
I&#39;ve got a few Bash aliases that save me some typing, modified my prompt<br>
to show useful information (current branch). Replaced diff with<br>
colordiff and use ack instead of grep. Still need to investigate custom<br>
bash completion.<br>
<br>
Also checkout j. <a href="http://github.com/rupa/j" target="_blank">http://github.com/rupa/j</a> j keeps track of which<br>
directories you use often and then instead of using cd to go to the<br>
directory, you can use j and then type a substring of the path and jump<br>
to that directory.<br>
<font color="#888888"><br>
Eric<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Cialug mailing list<br>
<a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br>
<a href="http://cialug.org/mailman/listinfo/cialug" target="_blank">http://cialug.org/mailman/listinfo/cialug</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Matthew Nuzum<br>newz2000 on freenode, skype, linkedin, <a href="http://identi.ca">identi.ca</a> and twitter<br><br>&quot;Do not seek to follow in the footsteps of the wise. Seek what they sought.&quot; –Matsuo Bashō<br>