Course Name: UNIX Shell Programming

 

Course Length: 3 days

 

Description: UNIX provides a powerful programming language called the shell. This course teaches you how to create and execute shell procedures. Shell procedures are easy to write and result in immense time savings on the job.

 

What You Will Learn: You will learn the skills required for developing basic and intermediate-level Korn shell scripts.  It begins with a summary of the concepts and operators that make the Korn shell one of the most powerful scripting environments in UNIX and Linux today.  Emphasis is placed on developing practical shell scripts.

 

Who Will Benefit From This Course: Anyone who works with UNIX on a daily basis and desires to improve their shell programming skills.

 

Course Outline:

 

·        Overview:

ü      full and relative pathnames

ü      redirection

·        redirect standard output

·        redirect standard error output

·        redirect standard input

ü      pipes

ü      echo

ü      filename generation

 

·        Variables

ü      creation and assignment

ü      evaluation

ü      names

ü      command line arguments

ü      positional parameters

ü      shift command

ü      set command

ü      system variables

ü      quoting

·        single quote

·        double quote

·        backslash

ü      interactive shell procedures

ü      read

ü      export

 


·        Conditional Constructs:

ü      multiway branch (case)

ü      non-interactive procedure

ü      interactive procedure

·        read command

ü      if

ü      else

ü      elif

ü      test command

 

·        Miscellaneous Constructs

ü      command substitution

ü      background process

ü      parameter substitution

ü      && and || operators

ü      command grouping

 

·        Looping

ü      while

ü      until

ü      break

ü      continue

ü      for

 

Exercises: Many practical exercises are integrated into the course to maximize the learning experience. If the students have a practical work related problem, these can usually be incorporated into the course as well.

 

Course Prerequisites: UNIX Basics or equivalent work experience.

 

Contact Stesco about this course

Click here to return to home page