|
| 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 using all versions of UNIX. (e.g. AIX, Solaris, HPUX, Irix, Linux etc.) |
| PREREQUISITES: |
Students 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. Hands on. |
| 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 korn shell scripts. By the end of the course, delegates will confidently be able to put together and maintain complex korn shell scripts. |
| COURSE CONTENT: |
Introduction and Background Information Review of Unix Concepts and Commands Major Components of UNIX The filesystem Listing Directories Creating Files Displaying Files Moving Around Directories Escaping Shell Processing Redirection Piping Searching for a Pattern Finding Files User Security Other Useful Commands
The Shell Environment Shell Environment System Variables Shell Variables Assigning Variables Displaying Variable Values Exporting variables Shell Interpretation Using Quotes in the Shell The Back Quote The Single Quote The Double Quotes The Backslash Special Escape Characters
Executing Applications 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
Miscellaneous Utilities Newgroup Cut and Paste Comparing Files Head and tail Touching files Grouping Commands Typeset Here Documents Shell Functions Controlling Program Flow Conditional Processing Logical Constructs Basic Structured Conditionals Nesting Structured Condition ELIF Statement Test String Operators Test Integer Operators Test File Operators Test Logical Operators Multi-Way Branching (Case) The For Command For Statement Without Word List The While Command The Until Command The True Command The False Command The Break Command The Continue Command
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 Execution Trace Verbose Trace Combining Execution and Verbose Traces Timing Command Programming Hints Creating Efficient Shell Procedures
Korn Shell Facilities
The Stream Editor The Stream Editor Searching and Replacing Text Deleting lines Printing Lines Edit Files The Awk Utility The awk utility Operators BEGIN and END Arithmetic operators Program Control Print Formatting Practical Application of Shell Scripts Program Maintenance System Monitoring
GN08/01 |
|
© 2007 Verhoef Training, Ltd.
|