<?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"
	>
<channel>
	<title>Comments on: HOWTO: quick search terminal history commands</title>
	<atom:link href="http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/feed/" rel="self" type="application/rss+xml" />
	<link>http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/</link>
	<description>Better Life Experience with Linux</description>
	<pubDate>Sat, 10 May 2008 03:58:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
		<item>
		<title>By: Ray</title>
		<link>http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-2316</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Mon, 24 Mar 2008 15:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-2316</guid>
		<description>Many thanks!</description>
		<content:encoded><![CDATA[<p>Many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shane</title>
		<link>http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-2313</link>
		<dc:creator>Shane</dc:creator>
		<pubDate>Thu, 13 Mar 2008 21:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-2313</guid>
		<description>Hey, 

The way to do this "like MATLAB" is by adding the following lines in your .bash_profile or .bashrc file (and subsequently running source .bashrc, etc):

bind '"\M-[A": history-search-backward'
bind '"\M-[B": history-search-forward'

These are the keybindings I use for bash 3.2 on Mac OS X, so you might have to find other keybindings specific to your machine, but the general syntax is there! Enjoy!</description>
		<content:encoded><![CDATA[<p>Hey, </p>
<p>The way to do this &#8220;like MATLAB&#8221; is by adding the following lines in your .bash_profile or .bashrc file (and subsequently running source .bashrc, etc):</p>
<p>bind &#8216;&#8221;\M-[A&#8221;: history-search-backward&#8217;<br />
bind &#8216;&#8221;\M-[B&#8221;: history-search-forward&#8217;</p>
<p>These are the keybindings I use for bash 3.2 on Mac OS X, so you might have to find other keybindings specific to your machine, but the general syntax is there! Enjoy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alessandro</title>
		<link>http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-2312</link>
		<dc:creator>Alessandro</dc:creator>
		<pubDate>Fri, 15 Feb 2008 09:29:25 +0000</pubDate>
		<guid isPermaLink="false">http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-2312</guid>
		<description>Thanks! Great advice!</description>
		<content:encoded><![CDATA[<p>Thanks! Great advice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tobias</title>
		<link>http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-2113</link>
		<dc:creator>Tobias</dc:creator>
		<pubDate>Tue, 06 Nov 2007 18:39:44 +0000</pubDate>
		<guid isPermaLink="false">http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-2113</guid>
		<description>Something even better (and actually what you want).
Go to /etc/inputrc and find the line with history search and page-up/down, and uncomment it.
Voila history search with Page-Up/Down from the letter in front of the cursor.</description>
		<content:encoded><![CDATA[<p>Something even better (and actually what you want).<br />
Go to /etc/inputrc and find the line with history search and page-up/down, and uncomment it.<br />
Voila history search with Page-Up/Down from the letter in front of the cursor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wei</title>
		<link>http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-663</link>
		<dc:creator>Wei</dc:creator>
		<pubDate>Sat, 05 May 2007 06:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-663</guid>
		<description>This ipython is quite nice! thanks</description>
		<content:encoded><![CDATA[<p>This ipython is quite nice! thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel</title>
		<link>http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-567</link>
		<dc:creator>Gabriel</dc:creator>
		<pubDate>Sat, 28 Apr 2007 15:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-567</guid>
		<description>Well if you will not miss job control, you can use ipython, which is an awesome python shell, that has a shell like environment (to start it use ipython -p pysh). You can then have the exact matlab feature you want.

Suppose I have done a search like,
fine . -name '*.tex'

Then the next time I want to use it I simply type
find 
it will even cycle through all previous find commands, etc.

(Combine this program with numpy and you also have a basic matlab replacement :-)</description>
		<content:encoded><![CDATA[<p>Well if you will not miss job control, you can use ipython, which is an awesome python shell, that has a shell like environment (to start it use ipython -p pysh). You can then have the exact matlab feature you want.</p>
<p>Suppose I have done a search like,<br />
fine . -name &#8216;*.tex&#8217;</p>
<p>Then the next time I want to use it I simply type<br />
find<br />
it will even cycle through all previous find commands, etc.</p>
<p>(Combine this program with numpy and you also have a basic matlab replacement <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wei</title>
		<link>http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-21</link>
		<dc:creator>Wei</dc:creator>
		<pubDate>Wed, 24 Jan 2007 08:46:44 +0000</pubDate>
		<guid isPermaLink="false">http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-21</guid>
		<description>To bapoumba: That's totally ok, I am pleased to share with others. In addition, I did not invent this, I just read this from somewhere else :). Thanks for sharing this.</description>
		<content:encoded><![CDATA[<p>To bapoumba: That&#8217;s totally ok, I am pleased to share with others. In addition, I did not invent this, I just read this from somewhere else :). Thanks for sharing this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bapoumba</title>
		<link>http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-20</link>
		<dc:creator>bapoumba</dc:creator>
		<pubDate>Tue, 23 Jan 2007 22:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-20</guid>
		<description>Second thought : I've posted your tip in French, linking to your blog page. I hope it's okay with you ;)
http://bapoumba.free.fr/?p=78</description>
		<content:encoded><![CDATA[<p>Second thought : I&#8217;ve posted your tip in French, linking to your blog page. I hope it&#8217;s okay with you <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
<a href="http://bapoumba.free.fr/?p=78" rel="nofollow">http://bapoumba.free.fr/?p=78</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bapoumba</title>
		<link>http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-19</link>
		<dc:creator>bapoumba</dc:creator>
		<pubDate>Tue, 23 Jan 2007 22:05:52 +0000</pubDate>
		<guid isPermaLink="false">http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-19</guid>
		<description>Neat, thanks</description>
		<content:encoded><![CDATA[<p>Neat, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kmandla</title>
		<link>http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-11</link>
		<dc:creator>kmandla</dc:creator>
		<pubDate>Sat, 20 Jan 2007 08:41:38 +0000</pubDate>
		<guid isPermaLink="false">http://weichen.wordpress.com/2007/01/20/howto-quick-search-terminal-history-commands/#comment-11</guid>
		<description>Excellent! I've been looking for something like this for a while. Thanks!</description>
		<content:encoded><![CDATA[<p>Excellent! I&#8217;ve been looking for something like this for a while. Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
