<?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>Chanel's Blog &#187; commands</title>
	<atom:link href="http://cmunezero.com/tag/commands/feed/" rel="self" type="application/rss+xml" />
	<link>http://cmunezero.com</link>
	<description>Where code meets love... and a lot of awkward silences...</description>
	<lastBuildDate>Tue, 11 May 2010 21:17:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Vim Tips</title>
		<link>http://cmunezero.com/2008/09/23/vim-tips/</link>
		<comments>http://cmunezero.com/2008/09/23/vim-tips/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 21:59:39 +0000</pubDate>
		<dc:creator>chanel</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[gvim]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[vim commands]]></category>
		<category><![CDATA[vim tips]]></category>

		<guid isPermaLink="false">http://cmunezero.com/?p=83</guid>
		<description><![CDATA[Since switching to Linux, I have slowly fallen in love with Vim.  I love how Vim makes it so that &#8220;your hands should never have to leave your keyboard&#8221; (Chris).  The biggest drawback to using Vim, and Emacs, is that there&#8217;s a fairly steep learning curve.  You pretty much have to abandon [...]]]></description>
			<content:encoded><![CDATA[<p>Since switching to Linux, I have slowly fallen in love with <a href="http://www.vim.org/">Vim</a>.  I love how Vim makes it so that &#8220;your hands should never have to leave your keyboard&#8221; (<a href="http://gnuguy.blogspot.com/">Chris</a>).  The biggest drawback to using Vim, and Emacs, is that there&#8217;s a fairly steep learning curve.  You pretty much have to abandon your comfort zone and force yourself to learn all of the different key bindings.</p>
<p>I&#8217;m very lucky in that I work with two vim gurus: Chris and <a href="http://dailyvim.blogspot.com/">Travis</a>.  Basically any question I have ever had with Vim, these two were able to answer them.  But for times when they are not around I love using these sites:</p>
<ul>
<li>List of useful tips: <a href="http://rayninfo.co.uk/vimtips.html">http://rayninfo.co.uk/vimtips.html</a></li>
<li>Wiki page of tips: <a href="http://vim.wikia.com/wiki/Main_Page">http://vim.wikia.com/wiki/Main_Page</a></li>
<li>Cheat sheet (PDF): <a href="http://www.sm.luth.se/csee/courses/smd/139/smd139_vi.pdf">http://www.sm.luth.se/csee/courses/smd/139/smd139_vi.pdf</a></li>
<li>Color coded cheat sheet of keys and their commands: <a href="http://www.viemu.com/vi-vim-cheat-sheet.gif">http://www.viemu.com/vi-vim-cheat-sheet.gif</a></li>
</ul>
<p>This is a very short list because Vim is based on a few basic concepts and building on top of that.  Once you get the basics, learning how to use buffers and macros gives you the ability to edit your files in any manner.</p>
]]></content:encoded>
			<wfw:commentRss>http://cmunezero.com/2008/09/23/vim-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful Linux Commands: Find and Search</title>
		<link>http://cmunezero.com/2008/09/01/useful-linux-scripts-find-and-search/</link>
		<comments>http://cmunezero.com/2008/09/01/useful-linux-scripts-find-and-search/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 00:29:28 +0000</pubDate>
		<dc:creator>chanel</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[bash scripting]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[linux scripting]]></category>
		<category><![CDATA[linux terminal]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[zsh]]></category>

		<guid isPermaLink="false">http://cmunezero.com/?p=70</guid>
		<description><![CDATA[Learning Linux commands is probably the largest hump anybody new to Linux faces.  Over the last year, I&#8217;ve compiled some useful, and somewhat non-obvious scripts that are really helpful to me on a weekly basis.  Here are commands that deal with finding files and searching for text within a file:
Find and delete a [...]]]></description>
			<content:encoded><![CDATA[<p>Learning Linux commands is probably the largest hump anybody new to Linux faces.  Over the last year, I&#8217;ve compiled some useful, and somewhat non-obvious scripts that are really helpful to me on a weekly basis.  Here are commands that deal with finding files and searching for text within a file:</p>
<p>Find and delete a directory:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span>PATH<span style="color: #000000; font-weight: bold;">/</span>TO<span style="color: #000000; font-weight: bold;">/</span>DIR <span style="color: #660033;">-type</span> d <span style="color: #660033;">-name</span> SEARCH <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span> \;</pre></div></div>

<p>Find and delete a file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span>PATH<span style="color: #000000; font-weight: bold;">/</span>TO<span style="color: #000000; font-weight: bold;">/</span>DIR <span style="color: #660033;">-name</span> SEARCH <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span> \;</pre></div></div>

<p>Search within files:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-r</span> <span style="color: #ff0000;">&quot;SEARCH&quot;</span> <span style="color: #000000; font-weight: bold;">*</span>.EXTENSION <span style="color: #000000; font-weight: bold;">/</span>PATH<span style="color: #000000; font-weight: bold;">/</span>TO<span style="color: #000000; font-weight: bold;">/</span>DIR</pre></div></div>

<p>Find and search within files:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">﻿<span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span>PATH<span style="color: #000000; font-weight: bold;">/</span>TO<span style="color: #000000; font-weight: bold;">/</span>DIR <span style="color: #660033;">-name</span> <span style="color: #ff0000;">&quot;SEARCH&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">xargs</span> -I<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-H</span> SEARCH <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>For more advanced options there&#8217;s always:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">man</span> <span style="color: #c20cb9; font-weight: bold;">find</span>
<span style="color: #c20cb9; font-weight: bold;">man</span> <span style="color: #c20cb9; font-weight: bold;">grep</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://cmunezero.com/2008/09/01/useful-linux-scripts-find-and-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
