<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://stab.st-andrews.ac.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Hdi2u_S10</id>
		<title>Hdi2u S10 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://stab.st-andrews.ac.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Hdi2u_S10"/>
		<link rel="alternate" type="text/html" href="http://stab.st-andrews.ac.uk/wiki/index.php?title=Hdi2u_S10&amp;action=history"/>
		<updated>2026-04-27T07:46:15Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://stab.st-andrews.ac.uk/wiki/index.php?title=Hdi2u_S10&amp;diff=1399&amp;oldid=prev</id>
		<title>Rf: Created page with &quot;= Changing directories =  * Directories are the same as folders. In linux &quot;directory&quot; is more common. * Directories within directories are called subdirectories&quot; * The command...&quot;</title>
		<link rel="alternate" type="text/html" href="http://stab.st-andrews.ac.uk/wiki/index.php?title=Hdi2u_S10&amp;diff=1399&amp;oldid=prev"/>
				<updated>2017-04-19T22:32:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Changing directories =  * Directories are the same as folders. In linux &amp;quot;directory&amp;quot; is more common. * Directories within directories are called subdirectories&amp;quot; * The command...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Changing directories =&lt;br /&gt;
&lt;br /&gt;
* Directories are the same as folders. In linux &amp;quot;directory&amp;quot; is more common.&lt;br /&gt;
* Directories within directories are called subdirectories&amp;quot;&lt;br /&gt;
* The command used to change directories is &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt;&lt;br /&gt;
* Think of your directory structure, (i.e. this set of nested file folders you are in), as a tree structure&lt;br /&gt;
* The simplest directory change you can do is move into a directory directly above or below the one you are in.&lt;br /&gt;
&lt;br /&gt;
== Exercises ==&lt;br /&gt;
* To change directory to the one above your are in, use the shortcut symbol learnt above&lt;br /&gt;
 cd ..&lt;br /&gt;
* To returns to the last directory you were working in before this one.&lt;br /&gt;
 cd –&lt;br /&gt;
To change to a directory one below you are in, just use the cd command followed by the subdirectory name:&lt;br /&gt;
 cd subdir_name&lt;br /&gt;
* If you need to change directory without worrying where you are now, you could explicitly state the full or absolute path:&lt;br /&gt;
 cd /usr/local/bin&lt;br /&gt;
* If you wish to return to your home directory at any time, just type cd by itself.&lt;br /&gt;
 cd&lt;br /&gt;
* Type &lt;br /&gt;
 cd utr&lt;br /&gt;
* Type it again. Why doesn&amp;#039;t this work?&lt;br /&gt;
&lt;br /&gt;
* Change directory into the /usr/bin directory by typing&lt;br /&gt;
 cd /usr/bin&lt;br /&gt;
&lt;br /&gt;
* List the files in this directory. This is the main directory of runnable programs on the system.&lt;br /&gt;
* How can you get back to your home directory from here?&lt;/div&gt;</summary>
		<author><name>Rf</name></author>	</entry>

	</feed>