<?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/"
		>
<channel>
	<title>Comments on: Directories, Files, and Path Names</title>
	<atom:link href="http://www.freemacunix.com/directories-files-and-path-names/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.freemacunix.com/directories-files-and-path-names/</link>
	<description>Terminal for the Rest of Us</description>
	<lastBuildDate>Sun, 13 Jun 2010 16:09:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Nathan Sweeney</title>
		<link>http://www.freemacunix.com/directories-files-and-path-names/comment-page-1/#comment-53</link>
		<dc:creator>Nathan Sweeney</dc:creator>
		<pubDate>Sat, 14 Oct 2006 05:37:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.freemacunix.com/directories-files-and-path-names/#comment-53</guid>
		<description>Two more things to keep in mind are the &#039;.&#039; and &#039;..&#039; for directories.  

When using one period, as in cd ./Music, you are referring to the current directory.  In my head, I think of it as &#039;here&#039;, so &#039;here slash Music&#039; would refer to the Music directory under the current working directory.  This is a relative path.

When using two periods, as in cd .., you are referring to the parent directory, ie the directory above the one you are currently in.  So if I were in my home directory, /Users/nathansweeney, typing ls -l .. would list files and directories in the /Users directory.  Or cd ../.. would change directory up one, then up one again, so up 2 directories from where you were.

And, don&#039;t forget the pwd command to show your present working directory if you get lost in the file tree.</description>
		<content:encoded><![CDATA[<p>Two more things to keep in mind are the &#8216;.&#8217; and &#8216;..&#8217; for directories.  </p>
<p>When using one period, as in cd ./Music, you are referring to the current directory.  In my head, I think of it as &#8216;here&#8217;, so &#8216;here slash Music&#8217; would refer to the Music directory under the current working directory.  This is a relative path.</p>
<p>When using two periods, as in cd .., you are referring to the parent directory, ie the directory above the one you are currently in.  So if I were in my home directory, /Users/nathansweeney, typing ls -l .. would list files and directories in the /Users directory.  Or cd ../.. would change directory up one, then up one again, so up 2 directories from where you were.</p>
<p>And, don&#8217;t forget the pwd command to show your present working directory if you get lost in the file tree.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.freemacunix.com/directories-files-and-path-names/comment-page-1/#comment-52</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Sat, 14 Oct 2006 00:37:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.freemacunix.com/directories-files-and-path-names/#comment-52</guid>
		<description>You might want to mention that Folder names with spaces or other special characters in them need to be handled with care.  Putting a backslash in front a space or special character will suffice in most cases:

Folder:    Users -&gt; Brian -&gt; My Stuff -&gt; Brian&#039;s Pics
Directory: /Users/Brian/My\ Stuff/Brian\&#039;s\ Pics</description>
		<content:encoded><![CDATA[<p>You might want to mention that Folder names with spaces or other special characters in them need to be handled with care.  Putting a backslash in front a space or special character will suffice in most cases:</p>
<p>Folder:    Users -&gt; Brian -&gt; My Stuff -&gt; Brian&#8217;s Pics<br />
Directory: /Users/Brian/My\ Stuff/Brian\&#8217;s\ Pics</p>
]]></content:encoded>
	</item>
</channel>
</rss>

