Speak to our team now +44 (0)1737 821590

Advanced UNIX shell programming

A 3 day
HANDS ON
training course

Advanced UNIX shell programming training course description

A follow on hands on course from the Introduction to shell programming course covering the powerful sed and awk tools along with the extra Korn shell programming features.

Key outcomes from this course

By the end of the course delegates will be able to:
  • Use regular expressions within grep, ed and many other utilities.
  • Use awk and sed.
  • Integrate sed and awk into shell scripts.
  • Write shell scripts using new Korn shell features including:
    • The select construct
    • Arrays
    • Arithmetic evaluation

UNIX shell programming training course details

Who will benefit:
Programmers developing applications under UNIX.
Administrators who need time saving utilities.
Technical personnel who wish to make the most out of the Korn Shell.
Prerequisites:
UNIX shell programming
Duration:
3 days

Training approach

This structured training course seeks to build upon workbook learning through the use of group exercises, dynamic discussion and individual tasks in order to deliver an engaging and interactive module that will ensure all candidates are able to transfer their new skills into the workplace.

Overall ratings for this course:

Course review


"Hard concepts were explained very simply."
J. S., Framestore CFC
"Excellent presentation - very good course structure."
B. M., London Internet Exchange

UNIX shell programming training course contents

Regular Expressions
What are REs? How can they be used? How to write REs.

More REs
Tagging, matching words, repetitions.

The sed editor
Basic usage: Saving output, options.. sed script files, sed commands, Specifying lines to edit, Hold space and pattern space, advanced commands

awk
Basic usage, nawk script files, Patterns, Records and fields

Actions
if, while, do, for...

System variables
NF, NR, RS...

Arrays

Functions
length, printf, cos, user defined...

Using nawk in shell scripts

Avanced issues (optional session)
Shell functions, getopts, xargs, debugging shell scripts, portability issues. Extras in the Korn shell.

Korn shell scripts

Review of Bourne shell scripts

  • functions...
  • Variables
  • typeset, manipulating strings
  • Arrays

Arithmetic evaluation

  • the let command, (( ))
  • typeset -I

The select construct
Syntax, workings, REPLY, PS3

Miscellaneous
Enhanced I/O, ${10}

Why Choose Us

SNT trainers score an average of over 90% on the three main areas of:
  • Ability to teach
  • Technical knowledge
  • Answering questions
“Excellently presented by a very knowledgeable and enthusiastic trainer.” P.D. General Dynamics

We limit our maximum class size to 8 delegates; often we have less than this. This ensures optimal interactivity between delegates and instructor.
"Excellent course. The small class size was a great benefit…" M.B. IBM

We write our own courses; courseware does not just consist of slides and our slides are diagrams not bullet point text. A typical chapter provides clearly defined objectives with a chapter overview, slides with text underneath, a quiz at the end to check the learning of the students. Hands on exercises are at the end and are used to reinforce the theory.

See Dates & Prices for this course

To enquire about this course

To reserve this course online