Difference between revisions of "Tutorial12: Shell Scripting - Part 2"
(→Main Objectives of this Practice Tutorial) |
(→Tutorial Reference Material) |
||
Line 30: | Line 30: | ||
| style="padding-left:15px;" |Additional Control Flow Statements | | style="padding-left:15px;" |Additional Control Flow Statements | ||
− | * if-else | + | * [https://www.tutorialspoint.com/unix/if-else-statement.htm if-else] |
* if-elif-else | * if-elif-else | ||
* for Loop | * for Loop |
Revision as of 07:34, 27 July 2020
Contents
ADDITIONAL SHELL SCRIPTING
Main Objectives of this Practice Tutorial
- Learn about additional logic control-flow statements if-else and if-elif-else
- Learn additional uses of the for loop control-flow statement.
- Learn the purpose of command substitution and how it can be used with control-flow statements
- List and explain the purpose of several start-up files
Tutorial Reference Material
Course Notes |
Linux Command/Shortcut Reference |
YouTube Videos | ||
Course Notes:
|
Additional Control Flow Statements
|
Startup Files
|
Brauer Instructional Videos: |
KEY CONCEPTS
Additional Logic Statements
x
Additional Loop Statements
x
Using Startup Files
x
INVESTIGATION 1: ADDITIONAL LOGIC STATEMENTS
In this section, you will learn how to ...
Perform the Following Steps:
- x
In the next investigation, you will ...
INVESTIGATION 2: ADDITIONAL LOOPING STATEMENTS
In this section, you will learn how to ...
Perform the Following Steps:
- x
In the next investigation, you will ...
INVESTIGATION 3: USING STARTUP FILES
In this section, you will learn how to ...
Perform the Following Steps:
- x
LINUX PRACTICE QUESTIONS
The purpose of this section is to obtain extra practice to help with quizzes, your midterm, and your final exam.
Here is a link to the MS Word Document of ALL of the questions displayed below but with extra room to answer on the document to simulate a quiz:
https://ict.senecacollege.ca/~murray.saul/uli101/uli101_week12_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).
Review Questions:
- x
- x
- x
- x
- x
- x
- x
- x