Title: Introduction: Scripting & Variables
Course: CIS 121: Linux/UNIX I: Fundamentals ~ For IGNITE Review > Section: Learning Modules

Performing that same task repeatedly is rather boring. Automating it frees up time for more important tasks. It also helps reduce errors. Learning how to create simple scripts is the first step towards automating the mundane.

- Know reasons for creating scripts
- Understand limitations of scripts
- Create simple scripts
- How to use passed arguments/parameters
- Understand when and how to create variables
- Understand
  - set
  - alias
  - #!
  - unset

Required Activities:

- Readings
  - Review the pages in this module
  - Read Chapter 12, pages 203-216, in the Linux Essentials text book

Presentations and Videos

- - View the following videos and use the presentation as an extra resource outlining the topics covered in the videos. Consider pausing the videos at different intervals while you practice what is taught.
  - UNIX Linux Scripting - Automating and Streamlining Tasks Presentation PDF or ODP
  - UNIX Linux Scripting - Automating and Streamlining Tasks video lecture (Time: 24:09)
  - UNIX Linux Scripting - Conditional Statements and Loops Presentation PDF or ODP
  - UNIX Linux Scripting - Conditional Statements and Loops video lecture (Time: 17:16)
  - UNIX Linux Scripting - nohup Camand Video Lecture (Time 3:41). PDF or ODP.
- Exercise - Complete the following exercises (located under the Exercises link within the left navigation area):
  - Exercise 11
- Quiz - Complete the following exercises (located under the Exercises link within the left navigation area):
  - Quiz 11

Enrichment Activities:

- Reference Text: Read Chapter 10, pages 191-208, in the Unix and Linux book.