Bash Parameters and Variables

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

local Keyword

local must be used in a function.

export

Scope

All variables declared in a shell are visible inside the functions executed within that shell and inside functions invoked from function invoked from the shell, recursively.

Shell Level

Function Level