Create and deliver your own elearning using eduslide.net

Browse thousands of lessons. Create your own and share the knowledge.

Sign up for a free eduslide account !
Create your own courses.
Access thousands of lessons.

Unix Shell Scripting Advanced

Virtual Training Company's Unix Shell Scripting Advanced tutorial is recommended for the more advanced user who has a working knowledge of basic UNIX Shell operation. This course describes how to create programs using the syntax and features of the UNIX Shell, focusing on the most popular-- the Bourne Shell. In this eight hour tutorial, author Mark Virtue will demonstrate techniques that will be compatible with all brands of UNIX, including LINUX. If you need a thorough understanding Unix Shell Scripting, start learning now by clicking on one of the movie links below.

Author: Vtc

Introduction

About this Course

Course Structure

What is the UNIX Shell?

Which Shell?

What is a Shell Script?

Your First Shell Script

A Basic Script

The echo Command

The read Command

Shell Basics Revisited

Special Characters

Comments

Chapter Exercises

Exercise Solutions

Running a Shell Script

Running a Script on the Command-line

Running a Script from within vi

Your PATH and bin

Script Interpreters

CGI Scripts

Shell Programming Features

Shell Variables

Environment Variables

The Trouble with Quotes 1

The Trouble with Quotes 2

Grouping Commands

Line Control

Chapter Exercises

Exercise Solutions

Introducing the Course Project

Course Project Solution

Conditional Code

True and False

Conditional Command Execution

The if Statement

The else Clause

The elif Clause

Using test 1

Using test 2

Using test 3

The case Statement

Chapter Exercises

Exercise Solutions

Loops

The while Loop

break and continue

Numerical Calculations

The for Loop

Chapter Exercises

Exercise Solutions

Text Processing

About Filters

grep

Regular Expressions

sort

sed

awk 1

awk 2

Chapter Exercises

Exercise Solutions

Functions

Program Structure

Defining and Calling a Function

Function Parameters

Function Return Values

Functions in Other Files

Case Study: The yesno Function

Chapter Exercises

Exercise Solutions

Command-line Parameters

Using Command-line Parameters

Using shift

Using set --

Using IFS

Usage Messages

Chapter Exercises

Exercise Solutions

Advanced Scripting

Debugging

Default Values for Variables

Temporary Files

Preventing Abnormal Termination

Chapter Exercises

Exercise Solutions

The End