1. Introduction

    System Information

  2. Inter-Process Communication
  3. Signals

    Programming in Various Environments

  4. Script Programming
    1. Script Variables
    2. Test Conditions
    3. Control and Iteration
    4. Commonly used Programs
    5. Shell Capabilities
    6. Example looping script
    7. Example using Variables
    8. Example working with files
    9. Example install script
  5. C and C++ Programming
    1. POSIX System Capabilities
    2. More POSIX
    3. Threads
    4. Mutexes
    5. An example viewmod program
    6. An example serial program
  6. X Programming
  7. Debugging
  8. Credits

Linux Script Programming

Script programming is highly dependent upon the operating system shell such as bash along with the various functions (programs) installed on the system. Script programming in this section is mainly about the bash shell. The knowledge required to write script programs can be categorized into the following areas:

  1. Working with variables
  2. Using control and iteration statements such as "if", "while", and "until".
  3. Performing test condition comparisons and what they mean.
  4. Using programs installed on the system in script programs.
  5. Using the shell capabilities:
    1. Builtin commands
    2. redirection and piping
    3. parameter expansion