RS02: RS/6000 Shell Programming

Description
RS/6000 Shell Programming is a self-paced, audio-cassette course providing comprehensive, practical training in the creation of shell scripts under the Korn and Bourne Shells on the RS/6000.
Upon completion of this course, participants are expected to be able to:

  • Use the VI editor to add, delete and merge text.
  • Create a shell script that utilizes process control, variables and looping.
  • Create simple shell scripts using cat.
  • Change file permissions.
  • Change environment variables.
  • Create a menu to facilitate daily tasks.
  • Merge SMIT commands and functions into shell scripts to automatically add terminals and users.
  • Use BOS commands to display system statistics and perform selective backups.
  • Use cut and grep to select columns and rows from a file.
  • Use output features to enhance screen layout.
  • Perform simple debugging

Process Control
While Conditional Looping
Infinite Looping
If-then-if Case Statements
esac
Default case statements
Program Variables
Reading Variables
Incrementing and Decrementing
Setting Up Default Values
Comparing Strings
Comparing Numbers
Using The Select Feature
Setting Up the Option Prompt
Displaying Menu Text
Processing Menu Options
Cut and Grep
Selecting Columns
Selecting Lines and Paragraphs
Environment Variables
Env
PS1
PATH
Parent and Child Shells
File Permissions
IS-I
Chmod
Adding and Removing Permissions
Read, Write and Execute
Owner, Group and All Others
Using Cat
Creating Shell Scripts
Adding Lines to a Shell Script
Using vi
Command Mode
Text Mode
Last Line Mode
Adding and Deleting Text
Merging Files
Saving Files
Scrolling
Executing Commands within vi
Copying Lines
Displaying Line Numbers
Adding SMIT Commands
Using SMIT.Script
mkdev
mkuser
Password Function
Displaying the Command
within SMIT
Specifying Program Variables
within SMIT Commands
Executing BOS Commands
Redirection
Screen Customisation
Tput smso
Tput rmso
Tput clear
Tput bel
Echo
Flowcharts
Correcting Common Errors

Audience :
System Administrators, operators and anyone
who wants to create Shell scripts to facilitate their daily tasks or the tasks of others.

Prerequisites:
Knowledge of how to use files and directories on the RS/6000.Knowledge of adding terminals (recommended)

Format:
Self-Instructional Audio-Cassettes

Materials
Six Audio-Cassettes
Student Text
Workbook
Interactive Media

Time Required :
Approximately 20 Hours

Price: £695

back