About this course
Shell scripting is widely used to automate tasks and manage processes in Linux environments.
The Linux Shell Scripting course covers the core concepts and practical techniques required to write and work with shell scripts. Topics include variables, control structures, input/output handling, and common scripting utilities.
The course focuses on building reliable scripts for routine and administrative tasks.
Delegate feedback
Feedback from delegates attending this course:
N. Ntombela
W. Schwartz
R. van Suilichem
Intended audience
The Linux Shell Scripting course is useful if:
- You work on Linux systems and need to automate tasks or processes.
- You need to read, modify, or write shell scripts.
- You need to perform routine administration or automation tasks using scripts.
Prerequisites
- Familiarity with Linux command-line environments is assumed.
- Comfort with basic command-line usage and a text editor is recommended.
- General programming familiarity is helpful, but not required.
Course details
Price: R8,900 excluding VAT per delegate.Included:
- Electronic course material.
- Attendance certificate (PDF).
Duration: 3 days.
Delivery: Virtual classroom
See how virtual training works.
See the course schedule for upcoming dates.
Booking information
Email your booking to info@incusdata.com. A purchase order, or completed enrolment form is sufficient.
We will confirm the booking and issue an invoice.
Course contents
Shell Environment and Core Concepts
- Posix standards.
- Shell concepts and versions.
- Uses of shell scripts.
- Basic commands and utilities.
- Standard Input / Output / Error.
- Processes, pipes and redirection.
Script Basics
- Shell scripts vs an interactive shell.
- Creating and running a script.
- Console control.
- Creating portable scripts.
- I/O.
- Common pitfalls and good practices.
Scripting Syntax
- Comment syntax.
- Variables.
- Expressions.
- Operators: assignment, comparison, logical, arithmetic, string.
- Selection (conditional) statements.
- Iterative statements.
- Functions, parameters and return values.
- File globbing.
Regular Expressions
- Regular expression concepts and principles.
- Character classes.
- Anchors.
- Meta-characters.
- Escaping.
- Searching.
- Substitution.
- Splitting text.
- Translation.
- grep & map functions.
Scripting with sed
- Basic syntax and commands.
- Special characters.
- Loops.
- Branches.
- Pattern buffer and pattern range.
Scripting with awk
- Awk versions.
- Typical uses of awk.
- Awk workflow and commands.
- Standard variables.
- Operators.
- Control statements.
- Built-in and user-defined functions.
- Arrays.
Bash
- Bash extensions.
- Advanced parameter expansion.
- Conditional blocks.
- Arrays.
- I/O redirection.