Duration
4 hours
Overview
The Linux Shell Programming course describes the use of coding components such as variables, parameters, expressions, and functions that can appear within a shell script. Details relating to conditional execution and looping that can be programmed into the script is supplied along with the handling of script errors.
Audience
System operators and other personnel who are new to the Linux environment and require knowledge on writing shell scripts
Prerequisites
Basic knowledge of Linux
Objectives
After completing this course, the student will be able to identify how to:
- Use the shell as a programming tool
- Manipulate custom and standard shell variables
- Use statements like IF and WHILE for program flow control
- Write sophisticated programs using shell scripts
Course Content
Concepts
Using the Shell as a Programming Tool
Creating a Simple Shell Script
Using Variables
Positional Parameters
Arithmetic Expressions
Handling User Input
Flow Control
What is Flow Control?
Conditional Execution of Commands
Test Operators
Looping
Multiple Choice Handling
Advanced Topics
Variable Handling Constructs
Extensions to User Input Handling
Functions
Handling Errors