Korn Shell Programming Training Course

Course Code

kshprog

Duration

21 hours (usually 3 days including breaks)

Requirements

A basic knowledge of programming in any high level language is required.

Overview

UNIX is a true multitasking operating system. Its portability, reliability and efficiency has helped it and various flavours of it, become widely used for a range of applications.

This course is designed for those wishing to learn Korn Shell programming. The practical exercises constitute about 50% of the course time. The course is suitable for any variant of Unix and the Linux platform is used for course delivery.

Who Should Attend: Programmers, system administrators and technical support staff who need to become proficient at scripting in the Unix environment.

Course Outline

Introduction

  • UNIX Shells
  • Comparing Shells

Scripting

  • Shell script basics
  • Comments
  • Printing output
  • Quoting
  • Creating shell variables
  • Predefined shell variables
  • Environment variables
  • Dot scripts
  • Aliases
  • Positional parameters
  • Command substitution

Conditional statements

  • If statement
  • Extended if syntax
  • Comparison operators

Looping statements

  • While statement
  • Until statement
  • Iterating for loop
  • Break and continue

Mathematics

  • Let statement
  • Arithmetic command
  • Arithmetic value command
  • Counting for loop
  • C Mathematics

Variables

  • String length
  • Substrings
  • Deleting leading and training strings
  • Providing default values

Shell IO

  • File descriptors
  • Redirecting input and output
  • Inline documents
  • Opening file descriptors
  • Reading and writing file descriptors
  • Closing and moving file descriptors

Functions

  • Function definitions
  • POSIX functions
  • Positional parameters
  • Returning a value
  • Local and reference variables

Signal Handling

  • UNIX Signals
  • Sending signals
  • The trap statement

User Input

  • Using getopts
  • The select statement

Applications

  • Hiding parameters
  • Database Queries

Bookings, Prices and Enquiries

Private Classroom

Private Remote

From $4500 (363)

Public Classroom

Cannot find a suitable date? Choose Your Course Date >>Too expensive? Suggest your price

Course Discounts

Course Discounts Newsletter

We respect the privacy of your email address. We will not pass on or sell your address to others.
You can always change your preferences or unsubscribe completely.