Difference between revisions of "Tutorial10: Shell Scripting - Part 1"

From CDOT Wiki
Jump to: navigation, search
(Tutorial Reference Material)
(Tutorial Reference Material)
Line 42: Line 42:
 
* for loop
 
* for loop
  
|colspan="1" style="padding-left:15px;" width="30%"|Brauer Instructional Videos:<ul><li>[https://www.youtube.com/watch?v=kxEP-KUhOSg&list=PLU1b1f-2Oe90TuYfifnWulINjMv_Wr16N&index=5 Introduction to Shell Scripting]</li><li><[https://www.youtube.com/watch?v=XVTwbINXnk4&list=PLU1b1f-2Oe90TuYfifnWulINjMv_Wr16N&index=6 Using Variables and Control Flow Statements in Shell Scripting]</ul>
+
|colspan="1" style="padding-left:15px;" width="30%"|Brauer Instructional Videos:<ul><li>[https://www.youtube.com/watch?v=kxEP-KUhOSg&list=PLU1b1f-2Oe90TuYfifnWulINjMv_Wr16N&index=5 Introduction to Shell Scripting]</li><li>[https://www.youtube.com/watch?v=XVTwbINXnk4&list=PLU1b1f-2Oe90TuYfifnWulINjMv_Wr16N&index=6 Using Variables and Control Flow Statements in Shell Scripting]</ul>
 
|}
 
|}
  

Revision as of 09:37, 3 July 2020

INTRODUCTION TO SHELL SCRIPTING


Main Objectives of this Practice Tutorial

  • x
  • x
  • x
  • x

Tutorial Reference Material

Course Notes
Linux Command/Shortcut Reference
YouTube Videos
Course Notes:


Shell Scripting
  • Purpose
  • Planning a Shell Script
  • Executing a Shell Script

Variables

  • Environment
  • User Defined
Control Flow Statements
  • Purpose
  • test command
  • if statement
  • for loop
Brauer Instructional Videos:

KEY CONCEPTS

Creating & Executing Shell Scripts

x


Using Variables in Shell Scripts

x


Using Control Flow Statements in Shell Scripts

x

INVESTIGATION 1: CREATING A SHELL SCRIPT


In this section, you will learn how to ...



Perform the Following Steps:

  1. x

In the next investigation, you will ...

INVESTIGATION 2: USING VARIABLES IN SHELL SCRIPTS

In this section, you will learn how to ...


Perform the Following Steps:

  1. x

In the next investigation, you will ...

INVESTIGATION 3: USING CONTROL FLOW STATEMENTS IN SHELL SCRIPTS

In this section, you will learn how to ...


Perform the Following Steps:

  1. 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_week10_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:

  1. x
  2. x
  3. x
  4. x
  5. x
  6. x
  7. x
  8. x