<spanclass="line"><span> /home/Username</span></span></code></pre></div><p>The first command provides an obvious answer, and the second is obvious enough once you know that it stands for “print work directory”.</p><p>Though for a long time, I thought it meant “present working directory”, because that just seems so much more descriptive to me.</p><p>Nonetheless, we answer the question, “Where am I?”</p><p>In all likelihood, you should be in your “home/{username}” directory.</p><p>And if you’re in Rebel Labs (RL), that’s where you will start!</p><p>Next, let’s take a look around ~ by typing the command <code>ls</code> and pressing Enter.</p><p>The <code>ls</code> command lists the items in our <em>present working directory</em>.</p><p>Cool, if we are in the RL we should see a notebooks folder. But let’s back up one moment ~</p><p>I want to tell you about <strong>command flags</strong>.</p><p>We just used three commands, <code>whoami</code>, <code>pwd</code>, and <code>ls</code>. The last of which has some other capabilities that can be accessed using command properties, indicated by <em>flags</em>.</p><p>Instead of just typing <code>ls</code> into the terminal, type <code>ls -l</code> and press Enter!</p><p>Huzzah ~ more details.</p><p>What do they all mean?!? We’re not going to cover that now, peep the appendix.</p><p>We’re gonna keep movin’ along. The important thing to note is that this is how command flags work, they need at least one-dash, sometimes two, to precede them.</p><p>Next command: <code>cd</code></p><p>If you just typed that in and pressed Enter, nothing will happen.</p><p>We need to add a destination, as <code>cd</code> stands for <em>change directory</em> … type <code>cd notebooks</code> and press Enter.</p><p>Let’s use <code>ls</code> or <code>ls -l</code> again, to take a look at what we got …</p><p>If you’re in the RL, then you ought to see nothing. And if you’re following along on your own computer … from your home directory lets first use the <code>mkdir</code> to make a new directory called RCNotebooks, or whatever name you like.</p><p><code>mkdir RCNotebooks</code> and press Enter.</p><p>Just like <code>cd</code> we needed to provide a name for the directory to be made.</p><p>Then we can <code>cd</code> into RCNotebooks as shown above, and onward we continue.</p><p><imgsrc="/assets/image_0.7969aea8.D_UfmDqv.png"alt="alt text"></p><h1id="ssh-hidden-folders"tabindex="-1">SSH & Hidden Folders <aclass="header-anchor"href="#ssh-hidden-folders"aria-label="Permalink to “SSH & Hidden Folders”"></a></h1><hr><p>I made a funny, we need to reverse … which is a great chance to learn how we do this in the command line??</p><p>Though first off, let’s make a mental model.</p><p>I like to consider the file system like chutes and ladders; up and down.</p><p>We often start right in the middle. in our home directory /home/user. And everything we initially access is <em>down</em> the file system from this location: /home/user/notebooks. /home/user/Desktop, /home/user/Downloads, etc.</p><p>Reversing directions would mean to travel back <em>up</em> the file stack. We use double-dots to do this, as follows:</p><p><code>cd ..</code> and press Enter.</p><p>Don’t forget <em>both dots</em>!</p><p>And we should now be back in our home directory, if we use the command <code>ls</code> we should see our Notebooks directory; or use the <code>pwd</code> command to confirm your location.</p><p>Now we make an SSH key, but what does that even mean?</p><p><imgsrc="/assets/image_1.9cd6feb9.MW0K_gz5.png"alt="alt text"></p><p><strong>SSH - Secure Shell</strong></p><p>Right now we’re using the terminal, or command line interface, and your account is considered a <em>shell</em> account; while you have <em>shell</em> access. Shell being another word for the <em>terminal</em>.</p><p>Presumably your account is protected by a password; and it’s a really good one, or it isn’t; that’s not immediately the point.</p><p>The point is that every single time you want to
</code></pre><p>Last command, make sure to use your GitHub username:</p><pre><code>cp -r Classwork/username.github.io {username}.github.io
</code></pre><p>Can you tell what you just did?</p><p><imgsrc="/assets/image_6.78b0caef.BbFM8bkP.png"alt="alt_text"></p><h1id="additional-support"tabindex="-1">Additional Support <aclass="header-anchor"href="#additional-support"aria-label="Permalink to “Additional Support”"></a></h1><hr><p>The remainder of this book builds off of the material in this repository. If you are having ANY trouble, please reach out to <ahref="mailto:canin@dreamfreely.org"target="_blank"rel="noreferrer">canin@dreamfreely.org</a> ~</p><p>The last command we ran copied template files for your HTML website. If you’re using GitHub.com you can publish your website to a github.io address that uses your username.</p><p>We'll cover this process after we've been introduced to HTML & CSS.</p></div></div></main><footerclass="VPDocFooter"data-v-7011f0d8data-v-e257564d><!--[--><!--]--><!----><navclass="prev-next"aria-labelledby="doc-footer-aria-label"data-v-e257564d><spanclass="visually-hidden"id="doc-footer-aria-label"data-v-e257564d>Pager</span><divclass="pager"data-v-e257564d><aclass="VPLink link pager-link prev"href="/rebel_coding/orientation.html"data-v-e257564d><!--[--><spanclass="desc"data-v-e257564d>Previous page</span><spanclass="title"data-v-e257564d>Orientation</span><!--]--></a></div><divclass="pager"data-v-e257564d><aclass="VPLink link pager-link next"href="/rebel_coding/step1.html"data-v-e257564d><!--[--><spanclass="desc"data-v-e257564d>Next page</span><spanclass="title"data-v-e257564d>Step 1: HTML & CSS</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>