"=======================================================================================" ISA Header Table 1 - Entire Page "=======================================================================================" Left Box Navigation "=======================================================================================" Navigation Tool Bar
Colume 1-1 - Navigation
ISA
 

 

 

Home Page
What's New
Who We Are
How to Find Us
Contact Us
Join Our Mailing List

The Institute for
Software Advancement
Suite 203
4 Mechanic Street
Natick, MA 01760
Phone: (508) 655-2600
Fax: (508) 655-2601

"=======================================================================================" Course Listing "=======================================================================================" Pricing and Schedule "=======================================================================================" Copyright


ISA Home PageComplete ISA Course ListingComplete ISA Course CalendarRegistration
UNIX Shell Programming Featuring KornShell
Course Number: U200

Course Description

Shell Programming is a two day lecture/lab course designed to teach the concepts, features and functions of the UNIX Korn Shell. The goal of this two-day course, is to provide the necessary tools to become proficient in writing shell scripts for routine tasks. The components needed as building blocks are introduced and integrated with the control constructs to produce sophisticated programs. Through the hands-on approach in a lecture/lab environment, the student is able to perfect programs that can be used in the real-time environment.

Who Should Attend?

The concepts presented in this course are suitable for users of a UNIX environment. This course will be of particular benefit to system analysts, application programmers, system administrators and technical personnel who want to learn how to write KornShell scripts.

Prerequisites

This course is intended for users who have previous experience with UNIX Utilities and Commands. Some knowledge of basic programming techniques is helpful.

What Will You Learn?

Upon Completion of this course, students will be able to:

  • Define and Redirect Standard Files
  • Use the Pipe Operator to Connect Two Commands
  • Use Wildcard Metacharacters
  • Use the History Command to Recall Commands
  • Use Shell Variables
  • Define and Use Foreground and Background Processes
  • Define and use Processes and Co-Processes
  • Use Directory Information in Scripts
  • Set and Use Potential Parameters
  • Use escape sequences
  • Pass arguments to shell scripts and test arguments
  • Use conditions and control statements
  • Use the if command in a decision
  • Use while and for loops
  • Debug scripts using execute trace and verbose trace
  • Use command substitution
  • Group shell commands
  • Create and use aliases and functions
  • Identify and use signals and handle signals in a shell script
  • Use integer and floating-point arithmetic
  • Create and use variable arrays
  • Perform command evaluation using eval
  • Use Here documents and file I/O operators
  • Use command options processing
  • Use a lock file to synchronize access

Course Outline

Review

  • Redirecting Standard Files
  • The Pipe operator
  • Wildcard Metacharacters
  • Command History and Command Line Editing
  • Shell Variables
  • Foreground and Background Processes
  • VI Refresher

Getting Started with Scripting

  • Processes
  • Executing Shell Scripts
  • Using Positional Parameters
  • Escape Sequences
  • Passing Arguments to Shell Scripts
  • Testing Arguments
  • Using Operators
  • Making Decisions and Looping
  • Using Execute Trace and Verbose Trace to Debug Shell Scripts
  • Command Substitution
  • Shell Script Examples

Intermediate Shell Scripting

  • Managing User and Group accounts
  • HP Tru64 UNIX Enhanced Security features
  • File protections
  • File system security
  • Improving network security
  • Improving workstation security
  • Executing a Script as a Sibling
  • Grouping Shell Commands
  • Control Statements
  • Advanced Loop Processing
  • Kornshell Aliases
  • Kornshell Functions
  • The Env Environment Variable
  • Using Directory Information

Advanced Shell Scripting

  • Menu Processing
  • Signals 4-5
  • Handling Signals in a Shell Script
  • Integer Arithmetic in the KornShell
  • Floating-Point Arithmetic in the KornShell
  • Variable Arrays
  • Changing IFS (Internal Field Separator)
  • Command Options Processing
  • Pattern Matching Operators
  • Using a File to Synchronize Access
  • KornShell Command Processing
  • Co-Processes
  • Readability and Maintainability
  • Performance
  • Shell Script Examples
$1495
2 Days

Please contact ISA at (508) 655-2600 or isa@softadv.com to get an updated schedule for this course or to arrange a custom, or contracted course for your company or group.

Planning on Sending 4-5 People from Your Organization to Our Training Classes?

Consider Onsite Group Training!

Find Out More,
Click Here



© 2007 The Institute for Software Advancement. All Rights Reserved.