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

    CU019 - UNIX C Shell Programming

    Length: 4 Days
    See Also "UNIX for Programmers"

    Description

    The C shell is the optional user interface on Berkeley UNIX systems and implements features such as job control, command line editing, aliases, and additional built in commands not found in the standard Bourne shell. Topics include an overview of the C Shell and it's functions, control constructs (foreach, while, switch, etc.), conditional branching, quoting, positional parameters, command substitution, pipelines, use of built-in shell commands, job control, history and alias mechanisms, sub-shells, shell programming efficiencies, and debugging. After completion of this course the attendee will be able to use the C Shell to design and develop complex command language programs.

    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. execute commands using foreground and background processing;
    3. modify built-in shell variables and create and use user-defined shell variables;
    4. use I/O redirection, pipes, quoting, and file name expansion mechanisms;
    5. create structured shell programs which accept and use positional parameters and exported variables;
    6. use the shell flow control and conditional branching constructs (while, foreach, switch, if, etc.);
    7. state the order in which command line arguments are evaluated;
    8. use shell debugging mechanisms to improve shell program efficiency and detect and correct errors.

    Course Materials

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

    Prerequisites

    1. UX001 - Fundamentals of UNIX, UX021 - Fundamentals of AIX, or equivalent experience using UNIX.

    Course Content

    1. OVERVIEW OF THE SHELL
      1. Shell Overview
      2. Interpreting Commands
      3. Logging In
      4. Processes
        1. Process Creation
        2. fork and exec
      5. User Environment
      6. Setting and Printing Variables
      7. I/O Redirection
      8. Pipelines
      9. File Name Generation
      10. Quoting
      11. Command Substitution
      12. Background Processing
      13. Tilde Substitution
      14. Arithmetic Evaluation
      15. Environment
      16. Job Control
      17. History and Alias Mechanisms
      18. Command Line Editing
      19. Login and Setup Files
        1. .login, .cshrc, and .logout
    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. Variables
      2. Assigning Variables
      3. Printing Variables
      4. Reading Input
      5. Variable Types
      6. Exporting Variables
      7. Variable Arrays
      8. Predefined Variables
      9. Environment Variables
      10. Special Shell Parameters
      11. Positional Parameters
      12. shift Command
      13. set and setenv Commands
      14. unset Command
      15. The source Command
    4. CONDITIONAL TESTING
      1. if Statement
      2. The switch Statement
      3. exit Command
    5. LOOPING MECHANISMS
      1. The foreach Loop
      2. The while Loop
      3. break, continue, and goto Statements
    6. SUBSHELLS
    7. PROGRAMMING CONSIDERATIONS
      1. Resource Consumption
      2. Processes and Files
      3. Programming Hints
    8. 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