Training offering
Korn and Bash Shell Programming
Description
Learn effective methods to create and use KornShell and Bourne Again SHell (bash) scripts and utilities. Shell scripts are often the key to becoming a productive AIX or Linux system administrator. During this course you will write simple programs that demonstrate your ability to write shell scripts in either an AIX or Linux environment.
Basic programming concepts are not taught in this course.
Objectives
After completing this course, you should be able to:
• Distinguish Korn Shell and Bash Shell specific features
• Use utilities such as sed and awk to manipulate data
• Understand system shell scripts, such as /etc/shutdown
• Write useful shell scripts to aid system administration
Participants
System administrators of Unix and Linux systems, application developers, programmers and anyone intending to write Korn or Bash shell scripts.
Prerequisite(s)
You should complete:
• AIX 5L Basics (AU13) or
• a Linux Basics course
or understand the programming fundamentals of variables and flow control concepts, such as repetition and decision,
or have working knowledge of UNIX or Linux, including the use of the vi editor, manipulating files and directories, basic variables, piping and redirection, and the find and grep commands.
Programme
• Basic shell concepts
• Shell variables and positional parameters
• Flow control in a shell script
• Testing of return codes and traps
• Functions and typeset
• Shell features such as arithmetic and string handling
• Using regular expressions
• Using grep, sed, awk and other AIX utilities
Options
Roadmaps that reference this course are:
• UNIX and Open Source
• AIX Users
• AIX System Administrators (continued)
• AIX Users and System Administration
• System p - AIX Programming / Internals
• UNIX and Open Source

