Tutorial 12 - Shell Scripting - Part 2

From CDOT Wiki
Jump to: navigation, search

Content under development

ADDITIONAL SHELL SCRIPTING

Main Objectives of this Practice Tutorial

  • Use the if-elif-else control flow statement in a shell script.
  • Use the for loop control using a list with command substitution.
  • Use the while loop in a shell script.
  • Use the exit and break statements in a shell script.
  • Explain how to configure and use a .bashrc start-up file.


Tutorial Reference Material

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


Control Flow Statements

Additional Statements

Startup Files


Brauer Instructional Videos:

INVESTIGATION 1: ADDITIONAL LOGIC STATEMENTS

INVESTIGATION 2: ADDITIONAL LOOPING STATEMENTS

INVESTIGATION 3: USING STARTUP FILES

LINUX PRACTICE QUESTIONS