Chapter 1: Working with Editors
Visiting the vim Editor
Navigating the nano Editor
Exploring the GNOME Editor
Chapter 2: Basic Script Building
Using Multiple Commands
Creating a Script File
Displaying Messages
Using Variables
Redirecting Input and Output
Pipes
Performing Math
Exiting the Script
Chapter 3: Using Structured Commands
Working with the if-then Statement
Exploring the if-then-else Statement
Nesting ifs
Trying the test Command
Considering Compound Testing
Working with Advanced if-then Features
Considering the case Command
Chapter 4: More Structured Commands
The for Command
The C-Style for Command
The while Command
The until Command
Nesting Loops
Looping on File Data
Controlling the Loop
Processing the Output of a Loop
Practical Examples
Course Outline ::::
Chapter 5: Handling User Input
Passing Parameters
Using Special Parameter Variables
Being Shifty
Working with Options
Standardizing Options
Getting User Input
Chapter 6: Presenting Data
Understanding Input and Output
Redirecting Output in Scripts
Redirecting Input in Scripts
Creating Your Own Redirection
Listing Open File Descriptors
Suppressing Command Output
Using Temporary Files
Logging Messages
Practical Example
Chapter 7: Script Control
Handling Signals
Running Scripts in Background Mode
Running Scripts without a Hang-Up
Controlling the Job
Being Nice
Running Like Clockwork
Chapter 8: Creating Functions
Basic Script Functions
Returning a Value
Using Variables in Functions
Array Variables and Functions
Function Recursion
Creating a Library
Using Functions on the Command Line
Following a Practical Example
Course Outline ::::
Chapter 9: Introducing sed and gawk
Manipulating Text
Commanding at the sed Editor Basics
Chapter 10: Regular Expressions
What Are Regular Expressions?
Defining BRE Patterns
Extended Regular Expressions
Regular Expressions in Action
Chapter 11: Writing Simple Script Utilities
Performing Archives
Managing User Accounts
Monitoring Disk Space
Chapter 12: Producing Scripts for Database, Web, and E-Mail
Using a MySQL Database
Using the Web
Using E-Mail
Programme scope, delivery arrangements and suitability are confirmed during enquiry.