Changes

Jump to: navigation, search
no edit summary
|- valign="top" style="padding-left:15px;"
|colspan="1" width="22%"|'''Slides:'''<ul><li>Week 3 Lecture 1 Notes:<br> [[Mediahttps://github.com/ULI101/slides/raw/main/ULI101-Week33.1.pdf | PDF]] | [https://matrixgithub.senecacollege.cacom/ULI101/slides/~chris.johnsonraw/ULI101main/ULI101-Week33.1.pptx PPTX]</li><li>Week 3 Lecture 2 Notes:<br> [[Mediahttps://github.com/ULI101/slides/raw/main/ULI101-Week33.2.pdf | PDF]] | [https://matrixgithub.senecacollege.cacom/~jason.carmanULI101/slides/raw/main/ULI101-Week33.2.pptx PPTX] <br></li></ul>
# Since we will be running Linux commands depending on the directory structure that you have created, issue the following Linux command to verify you created it correctly:<br><span style="color:blue;font-weight:bold;font-family:courier;">~uli101/week3-check-1</span><br><br>
# If you encounter errors, make corrections and then re-run the checking script until you receive a congratulations message.<br><br>
# Issue a Linux command to change to the '''examples''' directory in your recently-created directory structure.<br><span style="color:blue;font-weight:bold;font-family:courier;">cd tutorial3/practice/examples</span><br><br>
# Issue a Linux command to confirm you are located in the ''examples'' directory.<br><br>
# Remembering that we are located in the '''examples''' directory, issue the following Linux command<br>using a '''relative''' pathname to display files in the /bin directory: <span style="color:blue;font-weight:bold;font-family:courier;">ls ../../../../../bin</span><br><br>
# Now issue the following Linux command using an '''absolute''' pathname: <span style="color:blue;font-weight:bold;font-family:courier;">ls /bin</span><br><br>Which type of pathname would be the best to use in this situation?<br><br>'''NOTE:''' Using the previous command using the '''relative-to-home''' pathname would work,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; but it would look weird. Try to issue the command yourself!<br><br>
# Let's copy the file called ls which is contained in the '''/bin''' directory to your '''home''' directory by using the '''cp''' command.<br>First, issue the following Linux command to copy the ls command from the /bin directory to your home directory using absolute pathnames:<br><span style="color:blue;font-weight:bold;font-family:courier;">cp /bin/ls /home/youruserid</span><br><br>
simulate a quiz:
https://ictgithub.senecacollege.cacom/ULI101/labs/~murray.saulraw/uli101main/uli101_week3_practice.docx
Your instructor may take-up these questions during class. It is up to the student to attend classes in order to obtain the answers to the following questions. Your instructor will NOT provide these answers in any other form (eg. e-mail, etc).
# Write a Linux command to display the following message:<br>*** Hello ***
# Write a Linux command to display the following message (including quotation marks):<br>“This is my message”<br><br>
 
 
_________________________________________________________________________________
 
Author: Murray Saul
 
License: LGPL version 3
Link: https://www.gnu.org/licenses/lgpl.html
 
_________________________________________________________________________________
 
[[Category:ULI101]]
13,420
edits

Navigation menu