Training Classes | Learning and Development Resources | Training Directory | New Training Programs | New Training Providers | Site Map | Promote Training | Training Keywords | Training Programs | Training Providers | Regions | Training Search | Advertise Training Programs | Login
Provided by: Mt Xia Inc

Korn Shell Programming

Mt Xia Inc


  home  : Computer  : Programming Languages

Get More Information
Search for Training
Find Your Genius!
What do you want to learn about?

Training Provided by Mt Xia Inc

INTRODUCTION AND OVERVIEW

* Knowing when to use ksh
* Integrating KornShell scripts with external applications and tools
* Typical KornShell applications
* Differences between ksh88 and ksh93
* Benefits of KornShell vs. other shells

KORNSHELL FUNDAMENTALS

Shell script elements

* Commands and comments
* Defining exit values

Conditional program execution

* Applying if and case statements
* Simplifying if logic with elif

Program loops and iteration

* Conditional looping with while and until
* Pattern matching and list for loops

Testing files and strings

* Testing file age and permissions
* Comparing strings
* Verifying the existence of a string
* Testing with the [[ ]] command

Debugging

* Redirecting print as a debugging aid
* set commands for debugging

STORING AND ACCESSING DATA

Positional parameters

* Passing and accessing parameters
* Setting and unsetting parameters
* Manipulating parameters as groups

Shell variables

* Defining global and local variables
* Specifying default values and error conditions
* Writing reports by setting display characteristics

Arrays

* Creating and indexing arithmetic arrays
* Processing array contents with special variables

PROCESSING DATA

Manipulating strings

* Extracting substrings
* Determining string length

Mathematics under the KornShell

* Creating counting while loops
* Writing mathematical expressions: let vs. (( )), $(( ))

MODULAR PROGRAMMING WITH FUNCTIONS

KornShell function basics

* Functions vs. scripts
* Managing your variable namespace

Creating a function library

* Finding your library with FPATH
* Building a function library directory

INTERACTING WITH THE OUTSIDE WORLD

Manipulating files and redirecting data

* Processing command line parameters
* Deciphering redirection order
* Unraveling the secrets of exec: opening and closing multiple files

Interacting with running processes

* Handling error signals
* Defining post-termination actions such as notification, cleanup
* Reinitializing or getting status

Accessing network servers

* Contacting a network server
* Exchanging data with a network server

CREATING "PRODUCTION QUALITY" SCRIPTS

Ensuring environmental control

* Checking and modifying environment variables
* Using getopts to process command line options

Handling user interactions

* Setting up error processing
* Employing select to create a menu interface

Training Avaliability and Delivery

This is primarily ilt training
computer labComputer Lab Work
coursewareCourseware may be available for purchase
instructor led trainingThis class may be available at a classroom in Franklin, TN,
Contact Mt Xia Inc for more information
Course Level:basic through advanced
Schedule:4 days
Training Presented in:English

Related Keywords:  korn   shell   programming   bash   bourne   unix   aix   linux 

Training Program Details


INTRODUCTION AND OVERVIEW

* Knowing when to use ksh
* Integrating KornShell scripts with external applications and tools
* Typical KornShell applications
* Differences between ksh88 and ksh93
* Benefits of KornShell vs. other shells

KORNSHELL FUNDAMENTALS

Shell script elements

* Commands and comments
* Defining exit values

Conditional program execution

* Applying if and case statements
* Simplifying if logic with elif

Program loops and iteration

* Conditional looping with while and until
* Pattern matching and list for loops

Testing files and strings

* Testing file age and permissions
* Comparing strings
* Verifying the existence of a string
* Testing with the command

Debugging

* Redirecting print as a debugging aid
* set commands for debugging

STORING AND ACCESSING DATA

Positional parameters

* Passing and accessing parameters
* Setting and unsetting parameters
* Manipulating parameters as groups

Shell variables

* Defining global and local variables
* Specifying default values and error conditions
* Writing reports by setting display characteristics

Arrays

* Creating and indexing arithmetic arrays
* Processing array contents with special variables

PROCESSING DATA

Manipulating strings

* Extracting substrings
* Determining string length

Mathematics under the KornShell

* Creating counting while loops
* Writing mathematical expressions: let vs. (( )), $(( ))

MODULAR PROGRAMMING WITH FUNCTIONS

KornShell function basics

* Functions vs. scripts
* Managing your variable namespace

Creating a function library

* Finding your library with FPATH
* Building a function library directory

INTERACTING WITH THE OUTSIDE WORLD

Manipulating files and redirecting data

* Processing command line parameters
* Deciphering redirection order
* Unraveling the secrets of exec: opening and closing multiple files

Interacting with running processes

* Handling error signals
* Defining post-termination actions such as notification, cleanup
* Reinitializing or getting status

Accessing network servers

* Contacting a network server
* Exchanging data with a network server

CREATING "PRODUCTION QUALITY" SCRIPTS

Ensuring environmental control

* Checking and modifying environment variables
* Using getopts to process command line options

Handling user interactions

* Setting up error processing
* Employing select to create a menu interface

About Mt Xia Inc - Training Provider

Mt Xia Inc - Mt Xia is an advanced technology consulting company specializing in business continuity, disaster recovery, high availability, virtualization, and datacenter automation. We offer training in the following areas: Disaster Recovery/Business Continuity Unix/Linux Introduction Unix/Linux Administration AIX Administration Korn Shell Programming
Unix/Linux

Training Directory | New Training Programs | New Training Providers | Search | Site Map | Promote Training | Login | Links


Connecting people who want to learn with people who love to teach
 Are you a Korn training provider?
You could be on this page today - for FREE!