<?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: History meme</title>
	<atom:link href="http://dimitris.glezos.com/weblog/2008/04/10/history-meme/feed" rel="self" type="application/rss+xml" />
	<link>http://dimitris.glezos.com/weblog/2008/04/10/history-meme</link>
	<description>A greek/geek weblog</description>
	<lastBuildDate>Fri, 27 Nov 2009 12:26:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Δημήτρης Γλέζος</title>
		<link>http://dimitris.glezos.com/weblog/2008/04/10/history-meme/comment-page-1#comment-22546</link>
		<dc:creator>Δημήτρης Γλέζος</dc:creator>
		<pubDate>Fri, 11 Apr 2008 09:55:50 +0000</pubDate>
		<guid isPermaLink="false">http://dimitris.glezos.com/weblog/2008/04/10/history-meme/#comment-22546</guid>
		<description>&lt;p&gt;Here&#039;s a way a long history becomes really useful:&lt;/p&gt;

&lt;p&gt;&lt;&lt;/p&gt;

&lt;p&gt;p&gt;&lt;pre lang=&quot;bash&quot;&gt;
bind &#039;&quot;&#92;e[A&quot;&#039;:history-search-backward # first words of a command + up arrows
bind &#039;&quot;&#92;e[B&quot;&#039;:history-search-forward #write first letters of command and then control-W to grep the history
bind &#039;&quot;&#92;C-w&quot;&#039;:&quot;&#92;&quot;&#92;C-k&#92;C-ahistory &#124; grep &#039;^ &lt;em&gt;[0-9]&lt;/em&gt; *&#92;C-e.&#039;&#92;C-m&#92;&quot;&quot;
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Start writing a command line and press up and down to find a similar one in history.&lt;/p&gt;

&lt;p&gt;I use it quite often for my regular &lt;code&gt;ssh&lt;/code&gt;s, &lt;code&gt;cd&lt;/code&gt;&#039;s to often-used directories, etc.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a way a long history becomes really useful:</p>
<p>&lt;</p>
<p>p></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #ff0000;">'&quot;&amp;#92;e[A&quot;'</span>:history-search-backward <span style="color: #666666; font-style: italic;"># first words of a command + up arrows</span>
<span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #ff0000;">'&quot;&amp;#92;e[B&quot;'</span>:history-search-forward <span style="color: #666666; font-style: italic;">#write first letters of command and then control-W to grep the history</span>
<span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #ff0000;">'&quot;&amp;#92;C-w&quot;'</span>:<span style="color: #ff0000;">&quot;&amp;#92;&quot;</span><span style="color: #000000; font-weight: bold;">&amp;</span><span style="color: #666666; font-style: italic;">#92;C-k&amp;#92;C-ahistory | grep '^ &lt;em&gt;[0-9]&lt;/em&gt; *&amp;#92;C-e.'&amp;#92;C-m&amp;#92;&quot;&quot;</span></pre></div></div>

<p>Start writing a command line and press up and down to find a similar one in history.</p>
<p>I use it quite often for my regular <code>ssh</code>s, <code>cd</code>&#8217;s to often-used directories, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Διομήδης Σπινέλλης</title>
		<link>http://dimitris.glezos.com/weblog/2008/04/10/history-meme/comment-page-1#comment-22517</link>
		<dc:creator>Διομήδης Σπινέλλης</dc:creator>
		<pubDate>Thu, 10 Apr 2008 22:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://dimitris.glezos.com/weblog/2008/04/10/history-meme/#comment-22517</guid>
		<description>&lt;p&gt;103 ls
52 cd
50 vi
31 gmake
26 sh
26 fg
23 tail
15 more
15 make
13 rm&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>103 ls<br />
52 cd<br />
50 vi<br />
31 gmake<br />
26 sh<br />
26 fg<br />
23 tail<br />
15 more<br />
15 make<br />
13 rm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Themis</title>
		<link>http://dimitris.glezos.com/weblog/2008/04/10/history-meme/comment-page-1#comment-22516</link>
		<dc:creator>Themis</dc:creator>
		<pubDate>Thu, 10 Apr 2008 21:48:42 +0000</pubDate>
		<guid isPermaLink="false">http://dimitris.glezos.com/weblog/2008/04/10/history-meme/#comment-22516</guid>
		<description>&lt;p&gt;I should be ashamed for producing and posting the following result.. And believe me.. I really am..&lt;/p&gt;

&lt;blockquote&gt;242 ls
165 cd
95 clear
79 vim
39 su
38 find
36 rm
20 ssh
18 ps
17 sudo&lt;/blockquote&gt;

&lt;p&gt;Hm.. I ve just realized that reality and I have something important in common.. We &#039;re both hard..&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I should be ashamed for producing and posting the following result.. And believe me.. I really am..</p>
<blockquote><p>242 ls<br />
165 cd<br />
95 clear<br />
79 vim<br />
39 su<br />
38 find<br />
36 rm<br />
20 ssh<br />
18 ps<br />
17 sudo</p></blockquote>
<p>Hm.. I ve just realized that reality and I have something important in common.. We &#8216;re both hard..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.261 seconds -->
