Difference between revisions of "Tutorial10: Shell Scripting - Part 1"
(→Tutorial Reference Material) |
(→Tutorial Reference Material) |
||
Line 31: | Line 31: | ||
* Purpose | * Purpose | ||
* Planning a Shell Script | * Planning a Shell Script | ||
− | * Executing a Shell Script | + | * Executing a Shell Script<br> |
Variables | Variables | ||
* Environment | * Environment | ||
* User Defined | * User Defined | ||
− | Control Flow Statements | + | |
+ | | style="padding-left:15px;"|Control Flow Statements | ||
* Purpose | * Purpose | ||
* test command | * test command | ||
* if statement | * if statement | ||
* for loop | * for loop | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|colspan="1" style="padding-left:15px;" width="30%"|Brauer Instructional Videos:<ul><li>[https://www.youtube.com/watch?v=ocU34PcYn2U&list=PLU1b1f-2Oe90TuYfifnWulINjMv_Wr16N&index=4 Reading/Writing to Files<br>(echo, stdin, stdout, stderr, >, >>, 2>, cat, more, less, man, date, diff, diff -y, find, wc])<br><br></li></ul> | |colspan="1" style="padding-left:15px;" width="30%"|Brauer Instructional Videos:<ul><li>[https://www.youtube.com/watch?v=ocU34PcYn2U&list=PLU1b1f-2Oe90TuYfifnWulINjMv_Wr16N&index=4 Reading/Writing to Files<br>(echo, stdin, stdout, stderr, >, >>, 2>, cat, more, less, man, date, diff, diff -y, find, wc])<br><br></li></ul> |
Revision as of 08:30, 3 July 2020
Contents
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
Variables
|
Control Flow Statements
|
Brauer Instructional Videos: |
KEY CONCEPTS
Redirection
x
Piping (Using Pipes)
x
Multiple Commands Using Semicolon ; / Grouping Commands ( )
x
INVESTIGATION 1: BASICS OF REDIRECTION
In this section, you will learn how to ...
Perform the Following Steps:
- x
In the next investigation, you will ...
INVESTIGATION 2: REDIRECTION USING PIPES
In this section, you will learn how to ...
Perform the Following Steps:
- x
In the next investigation, you will ...
INVESTIGATION 3: MULTIPLE COMMANDS / COMMAND GROUPING
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_week5_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
- Create a table listing each Linux command, useful options that were mentioned in the online assignment #1 and command purpose for the following Linux commands: x , x , x , x , x , x , x , x , x , x