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

UNIX shell programming

A 2 day
HANDS ON
training course

UNIX training course description

A practical introduction to writing scripts using the Bourne shell under any UNIX operating system. Applicable for those using the Korn shell as well.

Key outcomes from this course

By the end of the course delegates will be able to:
  • Read shell scripts.
  • Write shell scripts.
  • Use different types of quotes.
  • Recognise the role of shell scripts within the UNIX system.

UNIX training course details

Who will benefit:
Programmers developing programs under UNIX..
Administrators / support personnel who wish to find out more about the workings of UNIX or write simple utility programs.
Prerequisites:
UNIX Fundamentals
Duration:
2 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 training course contents

Review of UNIX fundamentals

Basic shell scripts
What does the shell do? How are commands executed? Different shells. What is a shell script? Comments, creating shell scripts.

Variables
Setting variables, using variables, set, scope, export, sourcing, environmental variables, read.

Positional parameters
0 to $9, $#, $* and others. shift parameter substitution.

Control statements

  • The test command
  • The if statement
  • while loops
  • for loops
  • The case statement

Special characters
Redirection of errors, here documents, quoting.

Arithmetic in shell scripts
The expr command.

System shell scripts

Screen handling

  • The terminfo database
  • The tput comand

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

Optimising shell scripts
The time command, performance tips.

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