<?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/"
	xmlns:go='http://ns.gigaom.com/'
xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Unix Tip &#8211; Aliases</title>
	<atom:link href="http://gigaom.com/apple/unix-tip-aliases/feed/" rel="self" type="application/rss+xml" />
	<link>http://gigaom.com/apple/unix-tip-aliases/</link>
	<description></description>
	<lastBuildDate>Fri, 25 May 2012 20:27:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Lance Willett</title>
		<link>http://gigaom.com/apple/unix-tip-aliases/#comment-317172</link>
		<dc:creator><![CDATA[Lance Willett]]></dc:creator>
		<pubDate>Fri, 02 Feb 2007 06:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/2007/01/23/unix-tip-aliases/#comment-317172</guid>
		<description><![CDATA[My favorite alias is the good ol&#039; long list but with color and better file size info. Of course to get the color benefit you have to add that setting (in Terminal prefs on Mac OS X or in your profile: &lt;code&gt;export TERM=xterm-color&lt;/code&gt;).

&lt;code&gt;alias lsh=&quot;ls -alhG&quot;&lt;/code&gt;

I also have aliases for all the common SVN commands that I use all day long, like:

&lt;code&gt;alias sva=&quot;svn add&quot;
alias svc=&quot;svn commit&quot;
alias svd=&quot;svn delete&quot;
alias svi=&quot;svn info&quot;
alias svm=&quot;svn move&quot;
alias svs=&quot;svn status&quot;
alias svu=&quot;svn update&quot;&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>My favorite alias is the good ol&#8217; long list but with color and better file size info. Of course to get the color benefit you have to add that setting (in Terminal prefs on Mac OS X or in your profile: <code>export TERM=xterm-color</code>).</p>
<p><code>alias lsh="ls -alhG"</code></p>
<p>I also have aliases for all the common SVN commands that I use all day long, like:</p>
<p><code>alias sva="svn add"<br />
alias svc="svn commit"<br />
alias svd="svn delete"<br />
alias svi="svn info"<br />
alias svm="svn move"<br />
alias svs="svn status"<br />
alias svu="svn update"</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Brewer</title>
		<link>http://gigaom.com/apple/unix-tip-aliases/#comment-317171</link>
		<dc:creator><![CDATA[John Brewer]]></dc:creator>
		<pubDate>Wed, 24 Jan 2007 15:12:24 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/2007/01/23/unix-tip-aliases/#comment-317171</guid>
		<description><![CDATA[Re: here and there,

there are already built-in commands which do a similar thing for you: pushd and popd, but they don&#039;t stick around like your &#039;here&#039; does.

pushd /some/long/new/path (to go to the new place and remember the current one)
popd (to return to the remembered one)]]></description>
		<content:encoded><![CDATA[<p>Re: here and there,</p>
<p>there are already built-in commands which do a similar thing for you: pushd and popd, but they don&#8217;t stick around like your &#8216;here&#8217; does.</p>
<p>pushd /some/long/new/path (to go to the new place and remember the current one)<br />
popd (to return to the remembered one)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mutahir</title>
		<link>http://gigaom.com/apple/unix-tip-aliases/#comment-317170</link>
		<dc:creator><![CDATA[Mutahir]]></dc:creator>
		<pubDate>Wed, 24 Jan 2007 02:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/2007/01/23/unix-tip-aliases/#comment-317170</guid>
		<description><![CDATA[I am a newbie to unix environment and mac osx as well, very nice tip and i hope you people contribute more here so that people like me can learn:)

Regards
Mutahir]]></description>
		<content:encoded><![CDATA[<p>I am a newbie to unix environment and mac osx as well, very nice tip and i hope you people contribute more here so that people like me can learn:)</p>
<p>Regards<br />
Mutahir</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gustaf</title>
		<link>http://gigaom.com/apple/unix-tip-aliases/#comment-317169</link>
		<dc:creator><![CDATA[Gustaf]]></dc:creator>
		<pubDate>Tue, 23 Jan 2007 18:32:58 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/2007/01/23/unix-tip-aliases/#comment-317169</guid>
		<description><![CDATA[I&#039;ve created an alias which will quickly move to a &quot;sibling&quot; directory.  Say we have two folders: ~/Desktop/Ned   and    ~/Desktop/Fred
If your currenty working directory is ~/Desktop/Ned and u want to switch your current working directory to Fred, normally you&#039;d type:

cd ../Fred

Too much typing for me!  Create an alias like this:

alias c,=&quot;cd ..;cd &quot;

Now you can go from Ned to Fred (or visa versa) like this:

c, Fred

This saves a few keystrokes!]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve created an alias which will quickly move to a &#8220;sibling&#8221; directory.  Say we have two folders: ~/Desktop/Ned   and    ~/Desktop/Fred<br />
If your currenty working directory is ~/Desktop/Ned and u want to switch your current working directory to Fred, normally you&#8217;d type:</p>
<p>cd ../Fred</p>
<p>Too much typing for me!  Create an alias like this:</p>
<p>alias c,=&#8221;cd ..;cd &#8221;</p>
<p>Now you can go from Ned to Fred (or visa versa) like this:</p>
<p>c, Fred</p>
<p>This saves a few keystrokes!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bret Webb</title>
		<link>http://gigaom.com/apple/unix-tip-aliases/#comment-317168</link>
		<dc:creator><![CDATA[Bret Webb]]></dc:creator>
		<pubDate>Tue, 23 Jan 2007 15:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/2007/01/23/unix-tip-aliases/#comment-317168</guid>
		<description><![CDATA[Good call Martin.  Forgot to mention that the syntax was for csh.]]></description>
		<content:encoded><![CDATA[<p>Good call Martin.  Forgot to mention that the syntax was for csh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Stanhope</title>
		<link>http://gigaom.com/apple/unix-tip-aliases/#comment-317167</link>
		<dc:creator><![CDATA[Martin Stanhope]]></dc:creator>
		<pubDate>Tue, 23 Jan 2007 15:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/2007/01/23/unix-tip-aliases/#comment-317167</guid>
		<description><![CDATA[Nice tip. These days one is likely to be using a bash shell on OS X which would make it:

alias here=’export THERE_PWD=`echo $PWD`’
alias there=‘cd $THERE_PWD’

Martin]]></description>
		<content:encoded><![CDATA[<p>Nice tip. These days one is likely to be using a bash shell on OS X which would make it:</p>
<p>alias here=’export THERE_PWD=`echo $PWD`’<br />
alias there=‘cd $THERE_PWD’</p>
<p>Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Runar</title>
		<link>http://gigaom.com/apple/unix-tip-aliases/#comment-317166</link>
		<dc:creator><![CDATA[Runar]]></dc:creator>
		<pubDate>Tue, 23 Jan 2007 14:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/2007/01/23/unix-tip-aliases/#comment-317166</guid>
		<description><![CDATA[Thanks Bret!!!
That was a really good one]]></description>
		<content:encoded><![CDATA[<p>Thanks Bret!!!<br />
That was a really good one</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bret Webb</title>
		<link>http://gigaom.com/apple/unix-tip-aliases/#comment-317165</link>
		<dc:creator><![CDATA[Bret Webb]]></dc:creator>
		<pubDate>Tue, 23 Jan 2007 13:52:29 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/2007/01/23/unix-tip-aliases/#comment-317165</guid>
		<description><![CDATA[I spend about 12 hours a day in the Linux CLI environment, but at the end of a hard day I like to curl up with my PowerBook... without the terminal open!

However, for those pesky little tasks I still like to use the CLI for my PowerBook.  Navigation at the console level, however, is not friendly and you can end up cd&#039;ing your way into oblivion.  So, I use two aliases called &quot;here&quot; and &quot;there&quot; which facilitate getting around the directory tree.

Say you are in /Users/user/Desktop/folder/subfolder/ (which I will refer to as Dir1) and you want to edit a file in /Volumes/thumbdrive/folder/subfolder/ (which I will refer to as Dir2).  That&#039;s a lot of typing to get back and forth, no?  So, while in Dir1 you simply type &quot;here&quot; at the CLI.  When you are done messing around in Dir2 and you want to go back to Dir1, all you have to do is type &quot;there&quot; to go back.  Out of the 30 aliases that I have, these are my favorite.

alias here &#039;setenv THERE_PWD `echo $PWD`&#039;
alias there &#039;cd $THERE_PWD&#039;

-Bret]]></description>
		<content:encoded><![CDATA[<p>I spend about 12 hours a day in the Linux CLI environment, but at the end of a hard day I like to curl up with my PowerBook&#8230; without the terminal open!</p>
<p>However, for those pesky little tasks I still like to use the CLI for my PowerBook.  Navigation at the console level, however, is not friendly and you can end up cd&#8217;ing your way into oblivion.  So, I use two aliases called &#8220;here&#8221; and &#8220;there&#8221; which facilitate getting around the directory tree.</p>
<p>Say you are in /Users/user/Desktop/folder/subfolder/ (which I will refer to as Dir1) and you want to edit a file in /Volumes/thumbdrive/folder/subfolder/ (which I will refer to as Dir2).  That&#8217;s a lot of typing to get back and forth, no?  So, while in Dir1 you simply type &#8220;here&#8221; at the CLI.  When you are done messing around in Dir2 and you want to go back to Dir1, all you have to do is type &#8220;there&#8221; to go back.  Out of the 30 aliases that I have, these are my favorite.</p>
<p>alias here &#8216;setenv THERE_PWD `echo $PWD`&#8217;<br />
alias there &#8216;cd $THERE_PWD&#8217;</p>
<p>-Bret</p>
]]></content:encoded>
	</item>
</channel>
</rss>

