Writing UNIX Shell Programs


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number



Overview/Description
To describe how to use flow control, incorporate user input in UNIX shell programs, and debug shell programs

Target Audience
IT professionals and UNIX end-users who need to familiarize themselves with the UNIX shell environment

Prerequisites
Familiarity with the fundamentals of the UNIX operating system and the ability to navigate a file system and use basic shell commands

Expected Duration (hours)
3.7

Lesson Objectives

Writing UNIX Shell Programs

  • explain the principles of logical flow in a shell program
  • use conditional expressions to provide flow control in shell programs.
  • use flow control commands in shell programs.
  • use conditional expressions and flow control in a shell program.
  • use functions to improve the efficiency of program code.
  • use the UNIX I/O system in shell programs.
  • create user menus with the select command and use them in shell programs.
  • write an interactive program that makes use of standard input and output.
  • use variables, comments and white space to produce human-readable code.
  • explain how to debug shell scripts.
  • debug a shell program.
  • Course Number:
    83877_eng