<?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: Mastering The Linux Shell &#8211; Bash Shortcuts Explained (Now With Cheat Sheets)</title> <atom:link href="http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/feed/" rel="self" type="application/rss+xml" /><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/</link> <description>where things have nothing to do with beer - tutorials, tips, how-tos, thoughts, hacks, and other techy nonsense</description> <lastBuildDate>Sat, 19 May 2012 21:39:38 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Artem Russakovskii</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-52451</link> <dc:creator>Artem Russakovskii</dc:creator> <pubDate>Thu, 22 Mar 2012 18:29:34 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-52451</guid> <description>Updated all the cheat sheets to v1.3 with this included.</description> <content:encoded><![CDATA[<p>Updated all the cheat sheets to v1.3 with this included.</p> ]]></content:encoded> </item> <item><title>By: Artem Russakovskii</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-52450</link> <dc:creator>Artem Russakovskii</dc:creator> <pubDate>Thu, 22 Mar 2012 18:04:15 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-52450</guid> <description>That is ridiculously awesome. Thanks for the tip!</description> <content:encoded><![CDATA[<p>That is ridiculously awesome. Thanks for the tip!</p> ]]></content:encoded> </item> <item><title>By: whall</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-52449</link> <dc:creator>whall</dc:creator> <pubDate>Thu, 22 Mar 2012 17:41:40 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-52449</guid> <description>This is a great list.  Since you seem to have a line free, you might want to add CTRL-O right after CTRL-R.  CTRL-O, once I learned it, became very useful when using RCS and other commands that go in pairs.
Let&#039;s say you do your ci/co process:
# rcs -i myfile.pl
# ci -u myfile.pl
# co -l myfile.pl
Now the file is checked out and locked by you.  You do lots of vim, perl -wc and all sorts of testing.  Then you&#039;re ready to repeat the ci/co process.
So you do your trusty CTRL-R, type
&quot;ci&quot; and CTRL-R if needed to find the &quot;ci -u myfile.pl&quot; piece.
Now, instead of pressing [Enter], you press CTRL-O.  This presses [enter] for you, but automatically tees up the &quot;co -l myfile.pl&quot; line as your next line, waiting you to press [Enter].
CTRL-O takes whatever line was after the line you selected with CTRL-R and makes it your next command.
Hope this helps!</description> <content:encoded><![CDATA[<p>This is a great list.  Since you seem to have a line free, you might want to add CTRL-O right after CTRL-R.  CTRL-O, once I learned it, became very useful when using RCS and other commands that go in pairs.</p><p>Let&#039;s say you do your ci/co process:</p><p># rcs -i myfile.pl<br
/> # ci -u myfile.pl<br
/> # co -l myfile.pl</p><p>Now the file is checked out and locked by you.  You do lots of vim, perl -wc and all sorts of testing.  Then you&#039;re ready to repeat the ci/co process.</p><p>So you do your trusty CTRL-R, type<br
/> &#034;ci&#034; and CTRL-R if needed to find the &#034;ci -u myfile.pl&#034; piece.</p><p>Now, instead of pressing [Enter], you press CTRL-O.  This presses [enter] for you, but automatically tees up the &#034;co -l myfile.pl&#034; line as your next line, waiting you to press [Enter].</p><p>CTRL-O takes whatever line was after the line you selected with CTRL-R and makes it your next command.</p><p>Hope this helps!</p> ]]></content:encoded> </item> <item><title>By: Artem Russakovskii</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-51896</link> <dc:creator>Artem Russakovskii</dc:creator> <pubDate>Tue, 16 Aug 2011 04:34:02 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-51896</guid> <description>Alright, it should be fixed - there is apparently an incompatibility between WP-Minify and Download Counter (http://wordpress.org/extend/plugins/wp-downloadcounter). I&#039;ll get in touch with the author of WP-Minify.</description> <content:encoded><![CDATA[<p>Alright, it should be fixed &#8211; there is apparently an incompatibility between WP-Minify and Download Counter (<a
href="http://wordpress.org/extend/plugins/wp-downloadcounter" rel="nofollow">http://wordpress.org/extend/plugins/wp-downloadcounter</a>). I&#039;ll get in touch with the author of WP-Minify.</p> ]]></content:encoded> </item> <item><title>By: Artem Russakovskii</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-51895</link> <dc:creator>Artem Russakovskii</dc:creator> <pubDate>Tue, 16 Aug 2011 04:15:11 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-51895</guid> <description>Hrm, you seem to be right. I&#039;ll take a look, wonder what happened to them.</description> <content:encoded><![CDATA[<p>Hrm, you seem to be right. I&#039;ll take a look, wonder what happened to them.</p> ]]></content:encoded> </item> <item><title>By: Jeff S</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-51894</link> <dc:creator>Jeff S</dc:creator> <pubDate>Tue, 16 Aug 2011 04:08:27 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-51894</guid> <description>I download the files but they seem to be broken. The pdf doesn&#039;t work. The other two have woes as well. Is there an issue and can it be fixed??</description> <content:encoded><![CDATA[<p>I download the files but they seem to be broken. The pdf doesn&#039;t work. The other two have woes as well. Is there an issue and can it be fixed??</p> ]]></content:encoded> </item> <item><title>By: Bris</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-35837</link> <dc:creator>Bris</dc:creator> <pubDate>Mon, 26 Apr 2010 00:31:15 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-35837</guid> <description>Can i execute a shell script when i enter a particular pattern in my bash shell like an IP address?</description> <content:encoded><![CDATA[<p>Can i execute a shell script when i enter a particular pattern in my bash shell like an IP address?</p> ]]></content:encoded> </item> <item><title>By: Artem Russakovskii</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-34658</link> <dc:creator>Artem Russakovskii</dc:creator> <pubDate>Thu, 01 Apr 2010 21:16:49 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-34658</guid> <description>Then god help you, Thaya.</description> <content:encoded><![CDATA[<p>Then god help you, Thaya.</p> ]]></content:encoded> </item> <item><title>By: Thaya Kareeson</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-34657</link> <dc:creator>Thaya Kareeson</dc:creator> <pubDate>Thu, 01 Apr 2010 21:11:48 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-34657</guid> <description>What if you were on a Mac?? :)</description> <content:encoded><![CDATA[<p>What if you were on a Mac?? <img
src='http://beerpla.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Joe Poniatowski</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-31126</link> <dc:creator>Joe Poniatowski</dc:creator> <pubDate>Wed, 20 Jan 2010 21:30:57 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-31126</guid> <description>I like to use vi as the command-line editor, eg; &#039;set -o vi&#039;.  Once set, you can search through the command history with esc-K, and use vi command to edit the line (replace words, characters, etc.)  It&#039;s generally easier than back-spacing and re-typing (for those familiar with vi).</description> <content:encoded><![CDATA[<p>I like to use vi as the command-line editor, eg; &#039;set -o vi&#039;.  Once set, you can search through the command history with esc-K, and use vi command to edit the line (replace words, characters, etc.)  It&#039;s generally easier than back-spacing and re-typing (for those familiar with vi).</p> ]]></content:encoded> </item> <item><title>By: Scott</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-27309</link> <dc:creator>Scott</dc:creator> <pubDate>Tue, 17 Nov 2009 21:03:11 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-27309</guid> <description>Thanks a lot of the tips.</description> <content:encoded><![CDATA[<p>Thanks a lot of the tips.</p> ]]></content:encoded> </item> <item><title>By: teknoloji</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-25545</link> <dc:creator>teknoloji</dc:creator> <pubDate>Mon, 19 Oct 2009 20:31:02 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-25545</guid> <description>Thanks for sharing</description> <content:encoded><![CDATA[<p>Thanks for sharing</p> ]]></content:encoded> </item> <item><title>By: Spyros</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-25359</link> <dc:creator>Spyros</dc:creator> <pubDate>Fri, 16 Oct 2009 07:46:03 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-25359</guid> <description>Really a great reference, i tend to use ctrl+a and ctrl+U quite a lot and TAB of course. They make life easier. Linux is really about shortcuts anyway.</description> <content:encoded><![CDATA[<p>Really a great reference, i tend to use ctrl+a and ctrl+U quite a lot and TAB of course. They make life easier. Linux is really about shortcuts anyway.</p> ]]></content:encoded> </item> <item><title>By: Unix Shells &#124; Udshells</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-20954</link> <dc:creator>Unix Shells &#124; Udshells</dc:creator> <pubDate>Mon, 20 Jul 2009 15:48:37 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-20954</guid> <description>These are soem very usefull tips, well laid out and easy to understand thanks for the post!</description> <content:encoded><![CDATA[<p>These are soem very usefull tips, well laid out and easy to understand thanks for the post!</p> ]]></content:encoded> </item> <item><title>By: Artem Russakovskii</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-20158</link> <dc:creator>Artem Russakovskii</dc:creator> <pubDate>Wed, 01 Jul 2009 17:56:23 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-20158</guid> <description>@Isaac
Thanks for the clarification on readline!</description> <content:encoded><![CDATA[<p>@Isaac<br
/> Thanks for the clarification on readline!</p> ]]></content:encoded> </item> <item><title>By: Isaac Z. Schlueter</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-20088</link> <dc:creator>Isaac Z. Schlueter</dc:creator> <pubDate>Tue, 30 Jun 2009 04:32:03 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-20088</guid> <description>These aren&#039;t &quot;bash&quot; shortcuts, per se.  They&#039;re readline shortcuts.  Any program that uses readline to manage input will support them.  That&#039;s why they work in MySQL, as well as many other programs.  In fact, if you have the rlwrap program installed, you can wrap ANY program in a readline instance!  Try installing it, and then typing:
$ rlwrap cat
The readline utility can also be highly customized by using the ~/.inputrc file.  I recommend checking it out:
$ man readline
For a list of handy bash shortcuts, check out http://commandlinefu.com</description> <content:encoded><![CDATA[<p>These aren&#039;t &#034;bash&#034; shortcuts, per se.  They&#039;re readline shortcuts.  Any program that uses readline to manage input will support them.  That&#039;s why they work in MySQL, as well as many other programs.  In fact, if you have the rlwrap program installed, you can wrap ANY program in a readline instance!  Try installing it, and then typing:</p><p>$ rlwrap cat</p><p>The readline utility can also be highly customized by using the ~/.inputrc file.  I recommend checking it out:</p><p>$ man readline</p><p>For a list of handy bash shortcuts, check out <a
href="http://commandlinefu.com" rel="nofollow">http://commandlinefu.com</a></p> ]]></content:encoded> </item> <item><title>By: Artem Russakovskii</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-15709</link> <dc:creator>Artem Russakovskii</dc:creator> <pubDate>Sun, 12 Apr 2009 09:55:05 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-15709</guid> <description>@Ozh
do the included PDF and Word formats not work for you? :-/</description> <content:encoded><![CDATA[<p>@Ozh<br
/> do the included PDF and Word formats not work for you? :-/</p> ]]></content:encoded> </item> <item><title>By: Ozh</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-15706</link> <dc:creator>Ozh</dc:creator> <pubDate>Sun, 12 Apr 2009 08:53:03 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-15706</guid> <description>Cool list, but to be a real cheat sheet it needs to be a printable A4 pdf :)</description> <content:encoded><![CDATA[<p>Cool list, but to be a real cheat sheet it needs to be a printable A4 pdf <img
src='http://beerpla.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Ernie</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-11533</link> <dc:creator>Ernie</dc:creator> <pubDate>Sun, 18 Jan 2009 13:37:08 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-11533</guid> <description>This will come in handy for a lot of linux users I am going to try to learn more about this myself I have used linux for 8 years but have not yet played with scripting much.  I found a site from searching the &lt;a HREF=&quot;http://www.linusearch.com&quot; rel=&quot;nofollow&quot;&gt;Linux Search Engine&lt;/A&gt; that has some basic info in it that may come in handy for some who are getting acquainted with this. Hope this is helpful to someone.  &lt;a HREF=&quot;http://www.linuxplanet.com/linuxplanet/print/5257/&quot; rel=&quot;nofollow&quot;&gt;bash shell info&lt;/A&gt;</description> <content:encoded><![CDATA[<p>This will come in handy for a lot of linux users I am going to try to learn more about this myself I have used linux for 8 years but have not yet played with scripting much.  I found a site from searching the <a
HREF="http://www.linusearch.com" rel="nofollow">Linux Search Engine</a> that has some basic info in it that may come in handy for some who are getting acquainted with this. Hope this is helpful to someone. <a
HREF="http://www.linuxplanet.com/linuxplanet/print/5257/" rel="nofollow">bash shell info</a></p> ]]></content:encoded> </item> <item><title>By: Artem Russakovskii</title><link>http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/#comment-11183</link> <dc:creator>Artem Russakovskii</dc:creator> <pubDate>Sat, 10 Jan 2009 19:30:25 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/12/22/getting-around-bash-bash-shortcuts/#comment-11183</guid> <description>Version 1.2:
- added Alt-U/L/C: Uppercase/lowercase/capitalize from cursor to end of word and move cursor past end of word.
- added Alt-R: Revert all changes to current line. Very useful if you accidentally modify a command in history.
- added Ctrl-_: Undo the last command. Don’t forget – it’s Ctrl-Shift-MINUS, not Ctrl-MINUS.
- various changes to formatting and wording.</description> <content:encoded><![CDATA[<p>Version 1.2:<br
/> - added Alt-U/L/C: Uppercase/lowercase/capitalize from cursor to end of word and move cursor past end of word.<br
/> - added Alt-R: Revert all changes to current line. Very useful if you accidentally modify a command in history.<br
/> - added Ctrl-_: Undo the last command. Don’t forget – it’s Ctrl-Shift-MINUS, not Ctrl-MINUS.<br
/> - various changes to formatting and wording.</p> ]]></content:encoded> </item> </channel> </rss>
