Changes

Jump to: navigation, search

Tutorial 1: Using Your Matrix Server Account

1,133 bytes added, 04:18, 24 January 2020
LINUX PRACTICE QUESTIONS
|- valign="top" style="padding-left:15px;"
|colspan="2" |Course NotesSlides:<ul><li>[https://ict.senecacollege.ca/~uli101/notes/Week01.pdf PDF] | [https://ict.senecacollege.ca/~uli101/notes/Week01.pptx PPTX]</li></ul>Tutorials:<ul><li>[[HOWTO: Access Your Matrix Account]]</li><li>[http://czegel.com/seneca/uli101/lectures/Lecture1.html Les Czegel's Week 1 Notes (HTML)]</li></ul>Windows SSH client Software:<ul><li>[http://www.sfsu.edu/ftp/win/ssh/SSHSecureShellClient-3.2.9.exe SSH/SFTP]</li><li>[http://the.earth.li/%7Esgtatham/putty/latest/x86/putty.exe Putty]</li><li>[https://www.bitvise.com/ssh-client-download Bitvise SSH Client]</li><li>[https://mobaxterm.mobatek.net/download-home-edition.html MovaXterm]</li></ul> 
| style="padding-left:15px;" |Logging Out of Matrix Server
*[http://man7.org/linux/man-pages/man1/whoami.1.html whoami ,who am i]<br>
*[http://man7.org/linux/man-pages/man1/clear.1.html clear , &lt;ctrl&gt;&lt;l&gt;]<br>
 
|}
 
= KEY CONCEPTS=
===Purpose of Having a Matrix Account===
# To exit your Matrix session, type the following command and press ENTER: <span style="color:blue;font-weight:bold">exit</span><br><br>'''NOTE:''' You should notice that the Putty application window will disappear.<br><br>
# It is recommended to repeat these steps with connecting to your Matrix account from a Seneca lab workstation until you become comfortable with the process.<br><br>
 
Note: If you are using a Apple Mac computer, or a computer running the Linux OS, refer to the procedures below to login to your Matrix account.
 
SSH from macOS:
 
#In a new Finder window
#Open: '''Applications''' > '''Utilities''' > '''Terminal'''
#On the command line, type: <span style="color:blue;font-weight:bold">ssh username@matrix.senecacollege.ca</span>
#Enter your password when prompted. Answer yes to any questions it may ask you.
 
 
SSH from Linux:
 
#Open up the "Terminal" (the command line).
#Choose '''Applications''' > '''System Tools''' > '''Terminal'''.
#On the command line, type: <span style="color:blue;font-weight:bold">ssh username@matrix.senecacollege.ca</span>
#Enter your password when prompted. You will not see the cursor move but you are indeed entering your password
 
In the next investigation, you will learn how to issue Linux commands and how to setup and perform the first two sections of the online ULI101 assignment #1.<br><br>
An '''argument''' can be a '''pathname''', '''text''', '''option''', etc.
 
An '''argument''' is <u>separated</u> from a command (or from other arguments) by a '''SPACE''', '''multiple spaces''' or a '''TAB'''.
For example:
# Type the following Linux command, but DON’T press the ENTER key: <span style="color:blue;font-weight:bold">cd /bin</span><br><br>
# Press the <span style="color:blue;font-weight:bold">ctrl-a</span> key combination. What happens?<br><br>
# Press the <span style="color:blue;font-weight:bold">alt-F</span> key combination (ESCOPTION+F right-arrow for Mac OSx). What happens?<br><br>
# Press the <span style="color:blue;font-weight:bold">ctrl-w</span> shortcut. What happens?<br><br>
# Type the following command: <span style="color:blue;font-weight:bold">ls</span><br><br>
<br>
'''Perform the following steps:'''
[[Image:assnassign-initial-window.png|thumb|right|250px|Initial Assignment Window to Allow Student to Select Correct Course Section. ]]# In your Matrix account, issue the following command:<br><span style="color:blue;font-weight:bold;font-family:courier">~uli101/a1assign1</span><br><br>
# A screen similar to the one displayed on the right will appear.<br><br><span style="color:red;">'''WARNING''': You need to select the CORRECT section for the course which you belong to.<br>If you do NOT select your correct section, your assignment may not be recorded for marks!</span><br><br>
# Select the '''letter(s)''' corresponding to the <u>correct</u> '''ULI101 section''' and '''professor''' and press <span style="color:blue;font-weight:bold">ENTER</span><br><br>
# After you have selected your course section, There will be a screen that provides several important notes before proceeding.<br>Please take a few moments to read those notes and press <span style="color:blue;font-weight:bold">ENTER</span> to proceed.<br><br>[[Image:assn-mainsection-windowcompletion.png|thumb|right|250px|Main Assignment Window to Confirm View Which Sections Need to be Completed Sections and Correct Course Section. ]]# The assignment main menu will then be displayed.<br><br>'''NOTES:'''<ul><li>Near the bottom of the window, you will see '''"You are currently registered to"''' followed by the '''section letter''' and '''instructor name'''. Double-check your course timetable to confirm that this the correct section letter. If you have selected the WRONG section, type <span style="color:blue;font-weight:bold">C</span> in the menu selection area and press <span style="color:blue;font-weight:bold">ENTER</span>. You will return back to the original window to select your correct course section.<br><br></li><li>Near the top of the window displays the sections to complete in the assignment. You are NOT required to complete all sections at the same time. You can check the assignment #1 link on the ULI101 main WIKI page to note the due date for assignment #1. Sections that are NOT completed will be displayed in '''reverse text with a blue background'''. On the other hand, when you compete a section, then the section will appear as regular text<br>(i.e not in reverse text).<br><br>[[Image:assn-sectioncompleted-completionwindow.png|thumb|right|250px|To confirm Main Assignment Window to Confirm Which Sections of Assignment Have or Have Not Been Completed. ]]</li><li>If you want to verify that you have completed sections for the assignment, look for the text '''"Marks earned so far for ULI101 Assignment:"''' and it will show how many sections have been completed. When it shows all sections completed, then your assignment is finished and you should receive full marks provided that you have selected your correct course section.<br><br></li></ul>
# At the menu assignment #1 window, enter <span style="color:blue;font-weight:bold">1</span> in the menu selection area to begin the first section called '''"Introduction to Unix Commands"'''.<br><br>
# When you have completed this section, you will be returned to the main window.<br>View the contents of this window to confirm that you completed this section.<br><br>
# When you have time this week, enter <span style="color:blue;font-weight:bold">2</span> in the menu selection area to begin and perform the first section called 3 parts only<br>('''"Basic Unix Command Structure''', '''Entering and Editing Commands"''', '''Using the Online Manual''').<br><br>
# When you have completed this section, you will be returned to the main window.<br>View the contents of this window to confirm that you completed this section.<br><br>'''NOTE:''' Although you are NOT allowed to use reference sheets for course evaluations, it is recommended to create one for your personal use, and write down Linux commands, their arguments and options, so your can successfully perform quizzes, midterm exam, and final exam.<br><br>
# Proceed to the next section to perform additional practice. Linux is about "doing"! The more practice questions you perform, the better mark you will achieve for this course and have a better foundation of issuing Linux commands to be more productive in your future courses.<br><br>
# What is a “'''Linux Cluster'''”? What is an advantage of using a Linux cluster?
# List '''three unique server names ''' at Seneca college and briefly explain the purpose of that server. # List the steps to connect and login to your Matrix Linux server account from a '''workstation ''' in a computer lab at Seneca College.# List the steps to connect and login to your Matrix Seneca College account on your '''laptop''' or your '''home computer'''.
# List 3 unique ways to '''log-out''' of your Matrix account (not including closing the SSH window or application).
# What is the difference between a Linux '''command''' and an argument?
# What is the purpose of a Linux command '''option'''?# What character(s) is used to '''separate ''' commands and arguments?# Create a '''table ''' listing each Linux command, useful options that were mentioned in the online assignment #1 and command purpose this tutorial for the following Linux commands:<br><br>'''pwd ''' , '''cd ''' , '''ls ''' , '''cal ''' , '''date ''' , '''who ''' , '''w ''' , '''whoami ''' , '''who am I ''' , clea '''clear'''
[[Category:ULI101]]
13,420
edits

Navigation menu