learnex

 
unix shell programming

Unit 1: Creating a Simple Shell Script

  • Introduction
  • The Shell as a Programming Language
  • Creating Shell Scripts
  • Some Basics
  • Input and Output Redirection
  • Scripts vs Compiled Programs
  • Shell Script Examples
  • More about Running Scripts

Unit 2: Filename Generation & Quoting

  • Introduction
  • Metacharacters
  • Filename Generation Characters
  • Filename Generation
  • Quoting
  • The Comment Character

Unit 3: Using Shell Variables in Scripts

  • Introduction
  • Creating and Referencing Variables
  • Executing Files
  • An Example Process Hierarchy
  • visibility of Shell Variables
  • The Environment of a Process

Unit 4: Input for Shell Scripts

  • Introduction
  • Command Substitution
  • Interactive Input for Shell Scripts
  • Command Line Input
  • Catching Signals
  • Partial Quoting
  • Overview of Shell Interpretations

Unit 5: Using Conditional Constructs

  • Introduction
  • Flow Control Constructs
  • The case Construct
  • Return Values
  • The exit Command
  • Using the if and test Commands
  • Moving Command Arguments
  • Conditional Operators

Unit 6: Using Looping Constructs

    • Introduction
    • Overview of Looping Constructs
    • Looping Over a List
    • Skipping Items
    • Generating Word Lists
    • Waiting for Something to Happen
    • Looping While a Condition Holds
    • More about break and continue
    • Redirection