Bourne Shell Program Control

  • Douglas William Topham


Within a shell file (also known as a shell procedure or shell script), the shell acts as a programming language. Like other languages, the shell provides features like these:
  • Flow control commands (ifthenelse, while, for, and so on)

  • Interrupt handling (trap), variable setting, and parameter passing (refer to Chapter 23, “Bourne Shell Variables”)

  • Calls to other commands or shell procedures as subroutines


Conditional Statement Exit Status Shell Script Innermost Loop Interrupt Handling 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag New York Inc. 1990

Authors and Affiliations

  • Douglas William Topham

There are no affiliations available

Personalised recommendations