<?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: Enhanced Bash</title>
	<atom:link href="http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/</link>
	<description>Remember the name ;)</description>
	<lastBuildDate>Tue, 20 Dec 2011 20:37:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Enhanced Bash : Linux T&#38;T</title>
		<link>http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/comment-page-1/#comment-195</link>
		<dc:creator>Enhanced Bash : Linux T&#38;T</dc:creator>
		<pubDate>Fri, 07 Aug 2009 11:04:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=220#comment-195</guid>
		<description>[...] Enhanced Bash &#124; AmirWatad.com [...]</description>
		<content:encoded><![CDATA[<p>[...] Enhanced Bash | AmirWatad.com [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir Watad</title>
		<link>http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/comment-page-1/#comment-54</link>
		<dc:creator>Amir Watad</dc:creator>
		<pubDate>Sat, 07 Feb 2009 20:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=220#comment-54</guid>
		<description>Hey nbensa!
Thank you for this useful information.
I didn&#039;t got the thing with not recording commands with passwords, what makes the HISTORYIGNORE to ignore passwords?

Thank you again :)</description>
		<content:encoded><![CDATA[<p>Hey nbensa!<br />
Thank you for this useful information.<br />
I didn&#8217;t got the thing with not recording commands with passwords, what makes the HISTORYIGNORE to ignore passwords?</p>
<p>Thank you again <img src='http://www.amirwatad.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nbensa</title>
		<link>http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/comment-page-1/#comment-53</link>
		<dc:creator>nbensa</dc:creator>
		<pubDate>Sat, 07 Feb 2009 18:27:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=220#comment-53</guid>
		<description>I forgot to say you can add a timestamp too:

In bashrc:

export HISTTIMEFORMAT=&quot;%F %T &quot;


And for those who don&#039;t want to lose default inputrc settings, you can add include to your .inputrc:

$include /etc/inputrc
your-custom-settings-here

Regards</description>
		<content:encoded><![CDATA[<p>I forgot to say you can add a timestamp too:</p>
<p>In bashrc:</p>
<p>export HISTTIMEFORMAT=&#8221;%F %T &#8221;</p>
<p>And for those who don&#8217;t want to lose default inputrc settings, you can add include to your .inputrc:</p>
<p>$include /etc/inputrc<br />
your-custom-settings-here</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nbensa</title>
		<link>http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/comment-page-1/#comment-52</link>
		<dc:creator>nbensa</dc:creator>
		<pubDate>Sat, 07 Feb 2009 18:15:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=220#comment-52</guid>
		<description>While you&#039;re at it, add to inputrc:

set completion-ignore-case on

This way you can to:

cd deskt[TAB]

and you&#039;ll get &quot;cd Desktop/&quot;


To bashrc add:

shopt -s cdspell

Now try:

cd /vr


For history you can add to bashrc:

export HISTORYIGNORE=&quot;&amp;:ls:[bf]g:exit:[ \t]*&quot;

and history will ignore &quot;ls&quot;, bg, fg, exit, commands as well as commands starting with a space or tab. The last one is pretty handy if you want to not record history for commands containing passwords. For example:

 sudo mount -t smbfs -o username=user,password=s3krEtPa55 //server/share /mount/point


Regards</description>
		<content:encoded><![CDATA[<p>While you&#8217;re at it, add to inputrc:</p>
<p>set completion-ignore-case on</p>
<p>This way you can to:</p>
<p>cd deskt[TAB]</p>
<p>and you&#8217;ll get &#8220;cd Desktop/&#8221;</p>
<p>To bashrc add:</p>
<p>shopt -s cdspell</p>
<p>Now try:</p>
<p>cd /vr</p>
<p>For history you can add to bashrc:</p>
<p>export HISTORYIGNORE=&#8221;&amp;:ls:[bf]g:exit:[ \t]*&#8221;</p>
<p>and history will ignore &#8220;ls&#8221;, bg, fg, exit, commands as well as commands starting with a space or tab. The last one is pretty handy if you want to not record history for commands containing passwords. For example:</p>
<p> sudo mount -t smbfs -o username=user,password=s3krEtPa55 //server/share /mount/point</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Enhanced Bash &#124; Nica's Blog</title>
		<link>http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/comment-page-1/#comment-42</link>
		<dc:creator>Enhanced Bash &#124; Nica's Blog</dc:creator>
		<pubDate>Tue, 03 Feb 2009 03:32:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=220#comment-42</guid>
		<description>[...] (以上程式碼取自：http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/) [...]</description>
		<content:encoded><![CDATA[<p>[...] (以上程式碼取自：http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir Watad</title>
		<link>http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/comment-page-1/#comment-40</link>
		<dc:creator>Amir Watad</dc:creator>
		<pubDate>Mon, 02 Feb 2009 13:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=220#comment-40</guid>
		<description>Thank you Bret.
By the way, there is no such thing &quot;sourcing .inputrc&quot;, you shouldn&#039;t source it since it&#039;s not a bash-script. I believe this is the reason of most of the command-not-found errors people faced.</description>
		<content:encoded><![CDATA[<p>Thank you Bret.<br />
By the way, there is no such thing &#8220;sourcing .inputrc&#8221;, you shouldn&#8217;t source it since it&#8217;s not a bash-script. I believe this is the reason of most of the command-not-found errors people faced.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/comment-page-1/#comment-38</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Mon, 02 Feb 2009 07:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=220#comment-38</guid>
		<description>To everyone getting a &quot;command not found&quot; error when sourcing the .bashrc or .inputrc, this most likely a copy and paste error. 
Make sure the single quote &quot;&#039;&quot; (which bash will interpret as the start of a string) is not getting converted to a backtick &quot;`&quot; (which bash will interpret as &quot;execute inline&quot;, causing the commond not found error).
Also if your home dir does not have a .inputrc in it just create the file, relogin and bash will load those settings for you.
Thanks Amir, great tips</description>
		<content:encoded><![CDATA[<p>To everyone getting a &#8220;command not found&#8221; error when sourcing the .bashrc or .inputrc, this most likely a copy and paste error.<br />
Make sure the single quote &#8220;&#8216;&#8221; (which bash will interpret as the start of a string) is not getting converted to a backtick &#8220;`&#8221; (which bash will interpret as &#8220;execute inline&#8221;, causing the commond not found error).<br />
Also if your home dir does not have a .inputrc in it just create the file, relogin and bash will load those settings for you.<br />
Thanks Amir, great tips</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir Watad</title>
		<link>http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/comment-page-1/#comment-36</link>
		<dc:creator>Amir Watad</dc:creator>
		<pubDate>Mon, 02 Feb 2009 01:16:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=220#comment-36</guid>
		<description>Hi Bjarke,
Thank you for your comment.
Indeed, there is the /etc/inputrc file, and it&#039;s similar to ~/.inputrc, except that it&#039;s a system wide file (i.e. affects all users, and this is why you need root privileges to edit it).
~/.inputrc is a per user file, and I prefer to edit it and not the system wide file (except if you have a reason to make changes for all users).

Sometimes ~/.inputrc is not found by default, and you need to create it.

Please notice that ~/.inputrc and /etc/inputrc are NOT bash scripts, so please don&#039;t try to source them (i.e. by typing source .inputrc  or  . .inputrc  etc..), you&#039;ll get errors from the simple reason that you&#039;re trying to run a non-script file.

Thanks again for your comments</description>
		<content:encoded><![CDATA[<p>Hi Bjarke,<br />
Thank you for your comment.<br />
Indeed, there is the /etc/inputrc file, and it&#8217;s similar to ~/.inputrc, except that it&#8217;s a system wide file (i.e. affects all users, and this is why you need root privileges to edit it).<br />
~/.inputrc is a per user file, and I prefer to edit it and not the system wide file (except if you have a reason to make changes for all users).</p>
<p>Sometimes ~/.inputrc is not found by default, and you need to create it.</p>
<p>Please notice that ~/.inputrc and /etc/inputrc are NOT bash scripts, so please don&#8217;t try to source them (i.e. by typing source .inputrc  or  . .inputrc  etc..), you&#8217;ll get errors from the simple reason that you&#8217;re trying to run a non-script file.</p>
<p>Thanks again for your comments</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bjarke Bruun</title>
		<link>http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/comment-page-1/#comment-35</link>
		<dc:creator>Bjarke Bruun</dc:creator>
		<pubDate>Mon, 02 Feb 2009 00:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=220#comment-35</guid>
		<description>The inputrc file is a global file located in /etc aka /etc/intpurc - you need to be root to edit it. It is also where you can disable the annoying bell sound by uncommenting the 

set bell-style none</description>
		<content:encoded><![CDATA[<p>The inputrc file is a global file located in /etc aka /etc/intpurc &#8211; you need to be root to edit it. It is also where you can disable the annoying bell sound by uncommenting the </p>
<p>set bell-style none</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://www.amirwatad.com/blog/archives/2009/01/30/enhanced-bash/comment-page-1/#comment-34</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Sun, 01 Feb 2009 14:40:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=220#comment-34</guid>
		<description>E-mail sent.</description>
		<content:encoded><![CDATA[<p>E-mail sent.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.540 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-09 23:48:37 -->

