CST8207 Week 13 Notes
Shell Scripts: break, continue, shift, read, functions, &&, ||, errors 1>&2, script problems

Ian! D. Allen – www.idallen.com

Winter 2018 - January to April 2018 - Updated 2018-04-13 01:17 EDT

1 Class Visit regarding Brightspace from Desire 2 LearnIndexup to index

The Monday class will have a short presentation regarding the upcoming change from Blackboard to Brightspace from Desire 2 Learn.

2 C O U R S E    E V A L U A T I O NIndexup to index

 ____   _                           ____          __   __
|  _ \ | |  ___   __ _  ___   ___  |  _ \   ___   \ \ / /___   _   _  _ __
| |_) || | / _ \ / _` |/ __| / _ \ | | | | / _ \   \ V // _ \ | | | || '__|
|  __/ | ||  __/| (_| |\__ \|  __/ | |_| || (_) |   | || (_) || |_| || |
|_|    |_| \___| \__,_||___/ \___| |____/  \___/    |_| \___/  \__,_||_|
  ____ ____ _____   _____            _             _   _
 / ___/ ___|_   _| | ____|_   ____ _| |_   _  __ _| |_(_) ___  _ __
| |   \___ \ | |   |  _| \ \ / / _` | | | | |/ _` | __| |/ _ \| '_ \
| |___ ___) || |   | |___ \ V / (_| | | |_| | (_| | |_| | (_) | | | |
 \____|____/ |_|   |_____| \_/ \__,_|_|\__,_|\__,_|\__|_|\___/|_| |_|

3 Readings, Assignments, Labs, Tests, and ToDoIndexup to index

This is the last week of classes. Classes end on Friday, April 20.

3.1 Read (at least) these things (All The Words)Indexup to index

  1. Week 13 Notes HTML – this file – Read All The Words
  2. Shell Control Structures – if, else, test, [...], for, while, case, break, continue, read, functions, &&, ||, errors 1>&2
  3. Shell Script Problems – arithmetic, syntax, test, boolean, etc.
  4. List of Commands – Command names you should know, listed by week
  5. Video Tutorials on Lynda.com – tagged by week number
  6. Linux and Sysadmin News in the World

3.2 Assignments, Quizzes, and Lab work this weekIndexup to index

Reminder: There are now three quizzes that you need to complete on Blackboard as part of your term Quiz mark. The three Quizzes are not optional; see the Course Outline. Do all three quizzes.

Check the due date for each assignment and put a reminder in your agenda, calendar, and digital assistant. Just like in the Real World, not all due dates are on the same days or at the same times.

3.3 Upcoming tests and examsIndexup to index

This course has two midterm tests (10%, 15%) and one final exam (40%).

Bring your favourite marker to your test

3.3.1 The Final Exam – 10:30am Saturday April 28 2018 – 40%Indexup to index

The Final Exam is three hours long and contains approximately 180 multiple-choice questions similar to those found in the three preceding Practice Tests and Answers. Do all three practice tests before the Final Exam!

  • Time: 10h30-13h30 (10:30am to 1:30pm) Saturday April 28 (Week 14)
  • Location: T102A,B,C.
  • This exam has assigned seating – see your email for your assigned seat.
  • 180 minutes (three hours) for 180 questions
  • Do all three practice tests before the Final Exam!
  • Three Hours! Take a bathroom break before you start the exam!

All three practice tests will be posted under Practice Tests and Answers. The Final Exam is comprehensive of the whole course; you need to do all three practice tests for the Final Exam.

4 Notes from the ClassroomIndexup to index

4.1 Commands UsedIndexup to index

Keep a notebook with a List of Commands in it.

  • You need to write down yourself what each command does.
  • Check the updated list of commands each week.
  • I will check for this list in your lab periods.
  • Bring your notes to class! Stop wasting time looking up commands.
Take Notes in Class
Author: 
| Ian! D. Allen, BA, MMath  -  idallen@idallen.ca  -  Ottawa, Ontario, Canada
| Home Page: http://idallen.com/   Contact Improv: http://contactimprov.ca/
| College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/
| Defend digital freedom:  http://eff.org/  and have fun:  http://fools.ca/

Plain Text - plain text version of this page in Pandoc Markdown format

Campaign for non-browser-specific HTML   Valid XHTML 1.0 Transitional   Valid CSS!   Creative Commons by nc sa 3.0   Hacker Ideals Emblem   Author Ian! D. Allen