Difference between revisions of "W5020 CS Ed Week 2020"

From Coder Merlin
Line 25: Line 25:


=== Navigating the Shell ===
=== Navigating the Shell ===
In order to see what our working directory is inside the shell, we are going to use '''pwd''' which stands for "print the working directory". You can use the command by typing it in and hitting <RETURN>.
{{ConsoleLine|first-last@codermerlin:~$ |pwd}}
{{ConsoleLine|first-last@codermerlin:~$ |pwd}}
After using the command you should see something like the below console line. As long as you haven't moved in the directory you should start off in the home directory.
{{ConsoleLine|/home/first-last|}}
{{ConsoleLine|/home/first-last|}}


Next, let's try the "ls" command which will '''list''' the directories and files in the working directory.
{{ConsoleLine|first-last@codermerlin:~$ |ls}}
{{ConsoleLine|first-last@codermerlin:~$ |ls}}
However no files or directories have been created yet, so there won't be anything to display.
{{ConsoleLine||}}
{{ConsoleLine||}}


We can make a directory by using the command '''mkdir'''
{{ConsoleLine|first-last@codermerlin:~$ |mkdir firstDirectory}}
{{ConsoleLine|first-last@codermerlin:~$ |mkdir firstDirectory}}


{{ConsoleLine|first-last@codermerlin:~$ |cd firstDirectory}}
{{ConsoleLine|first-last@codermerlin:~$ |cd firstDirectory}}

Revision as of 13:41, 1 December 2020

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

Promotional Material[edit]

Computer Science Ed week- Social Justice[edit]

Ed Week 2020

  • Computer science Intro
  • Linux Basics
  • Shell basics
  • Igis and graphics


Merlin Shell Access Application:

https://www.codermerlin.com/wiki/index.php/Merlin_Shell_Access_Application

Spreading the news:

  • Social Media
  • Flyers
  • Clubs and classes

Computer Science Concepts[edit]

Linux Basics[edit]

Getting Ready[edit]

  • Installing the secure shell extension
  • Obtaining an account

Navigating the Shell[edit]

In order to see what our working directory is inside the shell, we are going to use pwd which stands for "print the working directory". You can use the command by typing it in and hitting <RETURN>.

first-last@codermerlin:~$  pwd

After using the command you should see something like the below console line. As long as you haven't moved in the directory you should start off in the home directory.

/home/first-last 

Next, let's try the "ls" command which will list the directories and files in the working directory.

first-last@codermerlin:~$  ls

However no files or directories have been created yet, so there won't be anything to display.

 

We can make a directory by using the command mkdir

first-last@codermerlin:~$  mkdir firstDirectory

first-last@codermerlin:~$  cd firstDirectory

first-last@codermerlin:~$  pwd

/home/first-last/firstDirectory 

first-last@codermerlin:~$  cd ../

first-last@codermerlin:~$  ls

firstDirectory 

Emacs[edit]

Graphics Project[edit]