
<?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>Cory Schires &#187; Unix</title>
	<atom:link href="http://coryschires.com/tag/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://coryschires.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 01 Jan 2012 23:49:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Creating aliases (shortcuts) in Unix.</title>
		<link>http://coryschires.com/creating-aliases-shortcuts-in-unix/</link>
		<comments>http://coryschires.com/creating-aliases-shortcuts-in-unix/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 02:57:31 +0000</pubDate>
		<dc:creator>Cory Schires</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://coryschires.com/?p=175</guid>
		<description><![CDATA[Aliases are shortcuts that save time with simple unix command line tasks. Stop wasting time with unnecessary keystrokes...]]></description>
			<content:encoded><![CDATA[<p>Aliases are shortcuts that save time with simple unix command line tasks. They&#8217;re especially useful if you frequently run the same few commands. For example, instead of typing:</p>
<div class="code_block">
<pre class="brush: plain;">
		cd ~/full/path/to/my/incredible/app
	</pre>
</div>
<p>You could use an aliases and type:</p>
<div class="code_block">
<pre class="brush: plain;">
		myapp
	</pre>
</div>
<p>There&#8217;s lots of ways to get this done but here&#8217;s the most basic implementation. First, fire up terminal.app and open your bash profile with a text editor. This is a hidden file in your home directory where you can set environment variables, configuration options, and whatnot. We&#8217;ll use pico:</p>
<div class="code_block">
<pre class="brush: plain;">
		pico ~/.bash_profile
	</pre>
</div>
<p>You should see a very basic text editor with some instructions at the bottom. Create your alias by typing something like:</p>
<div class="code_block">
<pre class="brush: plain;">
		alias myapp="cd ~/full/path/to/my/incredible/app"
	</pre>
</div>
<p>Next, hit <span class="code_text">control-x</span> to quit and save your changes when prompted. You&#8217;ll need to restart terminal for your changes to take effect. But really, it&#8217;s that simple. Stop wasting time with all those unnecessary keystrokes.</p>
]]></content:encoded>
			<wfw:commentRss>http://coryschires.com/creating-aliases-shortcuts-in-unix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

