Course code Title Language Price # Unit Startdate Hour Enddate Location Signup
UN008 Mastering UNIX Shell Scripts Dutch €1100.00 3 Day(s) 12-06-2018 09u00 14-06-2018 Kontich Subscribe
UN008 Mastering UNIX Shell Scripts English €1100.00 3 Day(s) 26-11-2018 09u00 28-11-2018 Kontich Subscribe
UN008 Mastering UNIX Shell Scripts on your request on your request Contact Us

Mastering UNIX Shell Scripts

Mastering UNIX Shell Scripts

Overview

Course code: 
UN008
Duration: 
3
Time Unit: 
Day(s)
Overview: 

Students learn to read, write, and debug shell scripts, thus increasing productivity by taking full advantage of the UNIX™ shell.

Topics

Topics: 

1. UNIX Processes
What is a Process?
Process Structure
The ps Utility
Options to the ps Utility
Background Commands (&)
Killing Background Processes
Redirecting the Standard Error

2. Getting Started
What is a Shell?
Running Scripts
Specifying the Script’s Interpreter
The PATH Environment Variable
Sub-shells

3. Variables
Shell Variables
The read Command
The export Command
The Shell Environment
Variable Substitution
Command Substitution

4. The Login Process
The Login Process
The System Profile Script
Your .profile Script
The . Command

5. Conditional Statements
The Exit Status of Commands
Command Line Examples
The test Command
The if-then-else Construct
The elif Construct
case Statements

6. Loops
The for Loop
The while Loop
Reading Lines From Files
Using Arrays with Loops

7. Special Variables
$$ - PID of Shell
Command-Line Arguments
$# - Number of Arguments
$* - All Arguments
The shift Command
The set Command
Getting Options

8. Quoting Mechanisms
Single vs. Double Quotes
What is a Here Document?
Using a Here Document
Here Document Quoting
Ignoring Leading Tabs

9. Functions
Shell Functions
Passing Arguments to Functions
Returning Values from Functions
Function Libraries

10. Advanced Programming
Shell Arithmetic
The select Statement
Terminal Independence in Scripts
The eval Command

11. Debugging Techniques
Using echo
Using Standard Error
Options for Debugging
Script Tracing
Conditional Debugging

12. Shell IPC
Co-processes
The print and read Commands
Signals
The trap Command
Named Pipes
The wait Command

Prerequisites

Prerequisites: 

Followed the Unix Fundamentals course or have equivalent knowledge/experience.

Audience

Audience: 

UNIX users, programmers, and system administrators.