terminal.cab

All commands

local

Topic: Shell and scripts

Shell builtin: local

Creates variables that belong to one function.

Package: script

Usage

local [name[=value] ...]

Description

Inside a function, give the function its own NAME: changes stay in the function, and the old value comes back when it ends.

Options in the simulator

No options.

Where you learn it

No lesson yet.

All commands