Corder Enterprises International (C.E.I.)
A Divider
1980 - 2016 Years of Service
Corder Enterprises International
A Divider
Go Green Gif The green data center
The Green Datacenter
A Divider Home
Training Offered by The Corder Company
The History of The Corder Company
The History of The Corder Company
e-Mail The Corder Company
e-Mail The Corder Company
VMware Training Courses
Site Map for C.E.I.
A Divider
AIX Training Courses
Solaris Training Courses
Linux Training Courses
Perl Training Courses
HTML Training Courses

E-Mail This Page
To a Friend.
Name Tag JPG
Now Hiring
Certified VMware Professional, VCP
VCP & VCIs

Fish GIF
1-Chronicles 4:10

Building World Class Teams
For you!®

Columbus

SPACER SPACER SPACER SPACER SPACER SPACER SPACER SPACER SPACER

    CU0012 UNIX Bourne Shell Programming

    Length: 4 Days
    See Also "UNIX for Programmers"

    Description

    This course teaches attendees how to use the Bourne shell to design and develop command language programs. Topics include an overview of the shell and it's functions, command line processing, control constructs (for, while, case, etc.), conditional branching, quoting, positional parameters, command substitution, pipelines, use of built-in shell commands, functions, sub-shells, signals, traps, shell programming efficiencies, and debugging. This course is applicable to all releases of UNIX which have the Bourne shell.

    Course Objectives

    Upon completion of this course the attendee will be able to:
    1. state how the shell functions as a user interface and command line interpreter;
    2. modify built-in shell variables and create and use user-defined shell variables;
    3. use I/O redirection, pipes, quoting, and filename expansion mechanisms;
    4. create structured shell programs which accept and use positional parameters and exported variables;
    5. use the shell flow control and conditional branching constructs (while, for, case, if, etc.);
    6. create shell programs which process interrupts, pass signals, invoke subshells and functions, and trap signals;
    7. use shell debugging mechanisms to improve shell program efficiency and detect and correct errors.

    Course Materials

    1. UNIX Bourne Shell Programming Student Guide and course notes.

    Prerequisites

    1. CU001 - Fundamentals of UNIX or equivalent experience using UNIX.

    Course Content

    1. OVERVIEW OF THE SHELL
      1. Command interpretation.
      2. Processes
        1. Process Creation
        2. fork and exec.
        3. Process invocation
      3. User Environment
        1. Login Shell Variables
        2. Setting Variables from the Login Prompt
        3. The /etc/profile and .profile files.
      4. Setting and Printing Variables
      5. I/O Redirection
      6. Pipelines
      7. File Name Generation
      8. Quoting
      9. Command Substitution
      10. Background Processing
    2. CREATING AND EXECUTING SHELL PROGRAMS
      1. Creating a Shell Program
      2. Executing a Shell Program
      3. Debugging Shell Programs
    3. SHELL VARIABLES & PARAMETERS
      1. Assigning Variables
      2. Printing Variables
      3. The read command.
      4. Variable Types
      5. Exporting Variables
      6. Shell Parameters
      7. Conditional Parameter Substitution
      8. Positional Parameters
      9. shift Command
      10. The set and unset commands
      11. The . (dot) Command
    4. CONDITIONAL TESTING
      1. The test Command
      2. The if, else, and elif statements.
      3. The case statement.
      4. The exit command
    5. LOOPING MECHANISMS
      1. The for, while, and until loops.
      2. The true and false statements
      3. The break and continue statements
    6. SIGNALS AND TRAPS
      1. Signals
      2. Traps
    7. SUBSHELLS AND FUNCTIONS
      1. Subshells
      2. Functions
    8. PROGRAMMING CONSIDERATIONS
      1. Resource Consumption
      2. Processes and Files
      3. Programming Hints
    9. CASE STUDY
    10. COURSE CONCLUSION

    pdf icon gif
    Course
    Flyer
    pdf icon gif
    C.E.I.
    Flyer
    pdf icon gif
    Course
    Offering
    3mb
    AIX | HPUX | Linux | Solaris
    General UNIX | Web | Perl
    Copywrite 1980 - 2015
    VMware Certified Instructor