June 2006
Intermediate to advanced
64 pages
2h 42m
English
readonly
readonly [-afp] [variable[=value] …]
Prevent the specified shell variables from being assigned new values. An initial value may be supplied using the assignment syntax, but that value may not be changed subsequently. Read-only variables may not be unset.
-aEach variable must refer to an array.
-fEach variable must refer to a function.
-pPrint readonly
before printing the names and values of read-only variables.
This allows saving a list of read-only variables for
rereading later.
Read now
Unlock full access