<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Javeed Abdul &#187; bash shortcuts</title>
	<atom:link href="http://www.javeedpassion.com/tag/bash-shortcuts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javeedpassion.com</link>
	<description>It&#039;s not what you don&#039;t know that hurts you . It&#039;s what you think you know that&#039;s ain&#039;t so.</description>
	<lastBuildDate>Sun, 07 Feb 2010 23:42:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Bash Shortcuts</title>
		<link>http://www.javeedpassion.com/2010/02/bash-shortcuts/</link>
		<comments>http://www.javeedpassion.com/2010/02/bash-shortcuts/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 10:02:07 +0000</pubDate>
		<dc:creator>Javeed Abdul</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sun Solaris]]></category>
		<category><![CDATA[bash shortcuts]]></category>

		<guid isPermaLink="false">http://www.javeedpassion.com/?p=177</guid>
		<description><![CDATA[


Keyboard shortcut
Action


Navigation


Ctrl-A
Go to the beginning of the line (note that if you   use GNU screen, you can use the Home button to do this, especially   considering that Ctrl-A is a special control character in screen).


Ctrl-E
Go to the end of the line (note that if you use   GNU screen, you [...]]]></description>
			<content:encoded><![CDATA[<table border="1" cellspacing="0" cellpadding="0" width="563">
<tbody>
<tr>
<td width="140"><strong>Keyboard shortcut</strong></td>
<td width="423"><strong>Action</strong></td>
</tr>
<tr>
<td colspan="2" width="563">Navigation<strong></strong></td>
</tr>
<tr>
<td width="140"><strong>Ctrl-A</strong></td>
<td width="423"><em>Go </em>to the beginning of the line (note that if you   use GNU screen, you can use the Home button to do this, especially   considering that Ctrl-A is a special control character in screen).</td>
</tr>
<tr>
<td width="140"><strong>Ctrl-E</strong></td>
<td width="423"><em>Go </em>to the end of the line (note that if you use   GNU screen, you can use the End button to do this).</td>
</tr>
<tr>
<td width="140"><strong>Alt-B (or ESC, left arrow)</strong></td>
<td width="423"><em>Jump </em>back one word using a non-alphanumeric   character as delimiter.</td>
</tr>
<tr>
<td width="140"><strong>Alt-F (or ESC, right arrow)</strong></td>
<td width="423"><em>Jump </em>forward one word using a non-alphanumeric   character as delimiter.</td>
</tr>
<tr>
<td width="140"><strong>Ctrl-PGUP or Shift-PGUP</strong></td>
<td width="423">This may or may not   work, and it works differently on different console apps. It will either <em>scroll</em> up one line at a time, 1 page at a time, or it may not work at all. I&#8217;m   inclined to think it&#8217;s not a bash shortcut at all.</td>
</tr>
<tr>
<td width="140"><strong>Ctrl-PGDN or Shift-PGDN</strong></td>
<td width="423">Same as the above but <em>scrolling</em> is done in the opposite direction.</td>
</tr>
<tr>
<td width="140"><strong>Up/Down</strong></td>
<td width="423"><em>Previous/Next</em> command in history. This one is way too   obvious but I&#8217;m including it for completeness.</td>
</tr>
<tr>
<td width="140"><strong>Ctrl-R</strong></td>
<td width="423">History <em>search</em>.   For example, Ctrl-R svn Ctrl-R Ctrl-R … will cycle through all recently run   commands with the ‘svn’ in them. It is one of the most useful shortcuts in   bash.</td>
</tr>
<tr>
<td colspan="2" width="563">Command Line Manipulation<strong></strong></td>
</tr>
<tr>
<td width="140"><strong>Ctrl-W</strong></td>
<td width="423"><em>Cut </em>one word backwards<em> </em>using white space as   delimiter.</td>
</tr>
<tr>
<td width="140"><strong>Alt-BACKSPACE</strong></td>
<td width="423"><em>Cut</em> one word backwards using a non-alphanumeric   character as delimiter (different from Ctrl-W, for example, abc;bcd will cut   to abc;).</td>
</tr>
<tr>
<td width="140"><strong>Ctrl-K</strong></td>
<td width="423"><em>Cut </em>everything forward<em> </em>to end of line.</td>
</tr>
<tr>
<td width="140"><strong>Ctrl-U</strong></td>
<td width="423"><em>Cut </em>everything   backwards<em> </em>to beginning of   line.</td>
</tr>
<tr>
<td width="140"><strong>Ctrl-T</strong></td>
<td width="423"><em>Transpose </em>the current character with the previous one. I   almost never use this. Never mind, I never use it, but someone might find it   useful.</td>
</tr>
<tr>
<td width="140"><strong>Alt-T</strong></td>
<td width="423"><em>Transpose</em> the word at cursor with the one before   cursor. In other words, swap them around.</td>
</tr>
<tr>
<td width="140"><strong>Ctrl-Y</strong></td>
<td width="423"><em>Paste</em> whatever was cut by the last cut command.</td>
</tr>
<tr>
<td width="140"><strong>Ctrl-V</strong></td>
<td width="423"><em>Insert</em> the next character <em>literally</em>. For example, Ctrl-V TAB inserts the actual TAB   character. This shortcut is often misunderstood because of mistyping Ctrl-V   and not realizing what it does.</td>
</tr>
<tr>
<td width="140"><strong>Ctrl-_</strong></td>
<td width="423"><em>Undo </em>the last command. Don’t forget – it’s Ctrl-Shift-MINUS,   not Ctrl-MINUS.</td>
</tr>
<tr>
<td width="140"><strong>Alt-R</strong></td>
<td width="423"><em>Revert </em>all changes to current line. Very useful if   you accidentally modify a command in history.<em></em></td>
</tr>
<tr>
<td width="140"><strong>Alt-U/Alt-L/Alt-C</strong></td>
<td width="423"><em>Uppercase/lowercase/capitalize </em>from cursor to end of word and move cursor past   end of word.</td>
</tr>
<tr>
<td colspan="2" width="563">Terminal control<strong></strong></td>
</tr>
<tr>
<td width="140"><strong>Ctrl-L</strong></td>
<td width="423"><em>Clear</em> screen while keeping whatever is already   typed in the command line intact.</td>
</tr>
<tr>
<td width="140"><strong>Ctrl-S</strong></td>
<td width="423"><em>Suspend</em> currently running terminal.</td>
</tr>
<tr>
<td width="140"><strong>Ctrl-Q</strong></td>
<td width="423"><em>Unsuspend</em> the terminal suspended by Ctrl-S. You need to   be aware of this shortcut because 99% of the time you’ve accidentally pressed   Ctrl-S and need to undo its effects.</td>
</tr>
<tr>
<td width="140"><strong>Ctrl-Z</strong></td>
<td width="423"><em>Suspend </em>the currently running process (usually   followed by <em>bg</em> to resume it in the   background or <em>fg</em> to resume in the   foreground).</td>
</tr>
<tr>
<td width="140"><strong>TAB</strong></td>
<td width="423"><em>Autocomplete</em>. Start typing, then hit TAB. You will either   get a list of possible completion values (2 TABs needed) or the only choice   will be filled in (only 1 TAB is needed). This shortcut is quite obvious and   well known, so I put it at the bottom of the list.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.javeedpassion.com/2010/02/bash-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
