Zoom Outline PDF View  or  Email Back to Schedule for Tennessee


UNIX Shell Programming




AUDIENCE:   Experienced programmers and support staff, who have some experience of UNIX based systems, and who will be implementing further applications and systems. The course is suitable for delegates, wishing to use the Korn shell, on all versions of UNIX. (e.g. AIX, Solaris, HPUX, Irix, Linux etc.).

PREREQUISITES:   Attendees should have a good basic understanding of UNIX, gained through a UNIX: The Essentials course and at least three months practical experience. Knowledge of a standard UNIX editor will be required.

DURATION:   3 days

OBJECTIVES:   The course is highly interactive and consists of theory with plenty of hands on practical content. This course will provide programmers and UNIX Support Staff with the skills necessary to construct extensive UNIX shell scripts. By the end of the course, delegates will confidently be able to put together and maintain complex shell scripts.

COURSE CONTENT:  
  1. Introduction and Background Information
  2. Review of Unix Concepts and Commands
    • Major Components of UNIX
    • The File System
    • Listing Directories
    • Creating Files
    • Displaying Files
    • Moving Around Directories
    • Redirection & Piping
    • Searching for a Pattern
    • Finding Files
    • User Security
    • Other Useful Commands
  3. The Shell Environment
    • Variables
    • Exporting variables
    • Shell Interpretation
    • Quotes
    • Special Escape Characters
    • Recalling & Modifying Previous Commands
  4. Simple Shell Scripts
    • Shell Scripts
    • Executing Shell Scripts
    • Passing Arguments To A Program
    • Positional Parameters
    • Special Shell Parameters
    • The Shift Command
    • Read Command
    • Expr Command
    • Korn Shell Arithmetic
  5. Miscellaneous Utilities
    • New group
    • Cut and Paste
    • Comparing Files
    • Head and tail
    • Touching files
    • Grouping Commands
    • Typeset
    • Here Documents
    • Korn Shell Functions
  6. Controlling Program Flow
    • Conditional Processing
    • Logical Constructs
    • Basic Structured Conditionals
    • Nesting Structured Conditionals
    • ELIF Statement
    • String Operators
    • Integer Operators
    • File Operators
    • Logical Operators
    • Case statement
    • Looping
    • The For Command
    • For Statement Without Word List
    • The While Loop
    • The Until Loop
    • While True Loop
    • Until False Loop
    • The Break Command
    • The Continue Command.
  7. Additional Programming Topics
    • Shell Script Comments
    • The Exit Command
    • The Sleep Command
    • The Wait Command
    • The Set Command
    • The Unset Command
    • Special Variable Constructs
    • The Null Command
    • Signals used by Shell Procedures
    • Interrupt handling
    • Trace
    • Timing Command
    • Korn Shell Arrays
    • Random Variable
    • Korn Shell Menu System.
    • Programming Hints
    • Creating Efficient Shell Procedures
  8. The Stream Editor
    • The Stream Editor
    • Searching and Replacing Text
    • Deleting lines
    • Printing Lines
    • Edit Files
  9. The Awk Utility
    • The awk Utility
    • Operators
    • BEGIN and END
    • Arithmetic operators
    • Program Control
    • Print Formatting

© 2007 Verhoef Training, Inc.

Schedule Dates

Course offered as
Inhouse or Public

Date Location State





Copyright © 2007 - Verhoef Group of Companies - All Rights Reserved