Bash Parameters and Variables: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
=<tt>local</tt> Keyword= | =<tt>local</tt> Keyword= | ||
<tt>local</tt> must be used in a function. | |||
=<tt>export</tt>= | =<tt>export</tt>= |
Revision as of 00:46, 27 May 2016
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.