+44 (0)1737 821590
Advanced UNIX shell scripting   |    A 3 day training course

Advanced UNIX shell scripting 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.

What will you learn
  • Use regular expressions within grep, ed and many other utilities.
  • Use awk and sed.
  • Integrate sed and awk into shell scripts.
  • Recognise the role of shell scripts within the UNIX system.
  • Write shell scripts using new Korn shell features including:
    • The select construct
    • Arrays
    • Arithmetic evaluation
Advanced UNIX shell scripting 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 scripting

  • Duration
  • 3 days

  • Dates & prices
  • Click here

Advanced UNIX shell scripting training course contents

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

  • More REs
  • e 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...
    Functions length, printf, cos, user defined... Using nawk in shell scripts

  • Korn shell scripts
  • Review of Bourne shell scripts
    typeset, manipulating strings Arrays
    Arithmetic evaluation
    the let command, (( )),
    typeset -i
    The select construct
    Syntax, workings, REPLY, PS3
    Enhanced I/O, ${10}

Learning path



Based on overall ratings

R. B.- Serco DNS

"Course was tailored to our requirements. Very flexible."

D. M. - Paradigm

"I’ve found it very useful and the course was very well put together and delivered."

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.