<?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>i shine light &#187; Editing</title>
	<atom:link href="http://www.ishinelight.com/category/editing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ishinelight.com</link>
	<description>in a digital world</description>
	<lastBuildDate>Mon, 21 Sep 2009 03:29:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Unix-ish Commands I use Often</title>
		<link>http://www.ishinelight.com/2009/04/unix-ish-commands-i-use-often/</link>
		<comments>http://www.ishinelight.com/2009/04/unix-ish-commands-i-use-often/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 17:41:24 +0000</pubDate>
		<dc:creator>Aaron Reimann</dc:creator>
				<category><![CDATA[Editing]]></category>
		<category><![CDATA[Linux/Unix]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.ishinelight.com/?p=116</guid>
		<description><![CDATA[Are you a web designer that sometimes need to SSH into a web site and make some changes but don&#8217;t know a Unix text editor?  Here are some basic commands that you might need.
Navigating in and out of directores:
To change directories:
pwd (shows you what directory you are in)
ls (lists all files)
cd www (gets you into [...]]]></description>
			<content:encoded><![CDATA[<p>Are you a web designer that sometimes need to SSH into a web site and make some changes but don&#8217;t know a Unix text editor?  Here are some basic commands that you might need.</p>
<p>Navigating in and out of directores:</p>
<p style="padding-left: 30px;">To change directories:</p>
<p style="padding-left: 30px;">pwd (shows you what directory you are in)</p>
<p style="padding-left: 30px;">ls (lists all files)</p>
<p style="padding-left: 30px;">cd www (gets you into the directory called www)</p>
<p style="padding-left: 30px;">cd .. (gets you down one directory)</p>
<p>Editing files.  I like editing files in Vi.  It is confusing if you don&#8217;t know it.  I am by no means a Vi expert like some of my friends, but I can do a lot.  Here are the basics:</p>
<p>use the arrow keys to navigate (you can use letters to move around, but if you don&#8217;t want to learn Vi, don&#8217;t waste your time)</p>
<p style="padding-left: 30px;">vi filename.php (opens a file called filename.php)</p>
<p style="padding-left: 30px;">i (gets you in the insert mode)</p>
<p style="padding-left: 30px;">the escape key gets you out of the insert mode</p>
<p style="padding-left: 30px;">x (deletes the character your cursor is on)</p>
<p style="padding-left: 30px;">dd (deletes the whole line you are on)</p>
<p style="padding-left: 30px;">:w (writes the file)</p>
<p style="padding-left: 30px;">:q (quits Vi)</p>
<p style="padding-left: 30px;">:wq (writes the file and exists)</p>
<p style="padding-left: 30px;">:%s:bob:john:g (replaces bob with john in the whole file, i recently used that to replace text on a 42 meg text file, it came in handy.  it took seconds to do)</p>
<p>Enjoy!</p>
&nbsp; ]]></content:encoded>
			<wfw:commentRss>http://www.ishinelight.com/2009/04/unix-ish-commands-i-use-often/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
