Shell Functions

  • Chris F. A. Johnson
  • Jayant Varma

Abstract

A shell function is a compound command that has been given a name. It stores a series of commands for later execution. The name becomes a command in its own right and can be used in the same way as any other command. Its arguments are available in the positional parameters, just as in any other script. Like other commands, it sets a return code.

Keywords

Positional Parameter Command Line Internet Protocol Address Exit Status Crossword Puzzle 
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.

Copyright information

© Chris F. A. Johnson and Jayant Varma 2015

Authors and Affiliations

  • Chris F. A. Johnson
    • 1
  • Jayant Varma
    • 1
  1. 1.OntarioCanada

Personalised recommendations