readonly: Mark variables/functions as readonly reboot Reboot the system renice Alter priority of running processes remsync Synchronize remote files via email

Mark variables/functions as readonly.
Syntax
readonly [-apf] [name] ...

Options
-f Each name refers to a shell function
-a Each name refers to an array variable
-p Print a list of all readonly names (This is the default)
The values of these names may not be changed by subsequent assignment.

The `-p? option causes output to be displayed in a format that may be reused
as input.

The return status is zero unless an invalid option is supplied, one of the name
arguments is not a valid shell variable or function name, or the `-f? option
is supplied with a name that is not a shell function.
readonly is a BOURNE shell command and a POSIX `special? builtin.

"The stupid neither forgive nor forget, the naive forgive and forget,
the wise forgive but do not forget" - Thomas
Szasz (The second sin)
Tags
Comments
Write the first comment
Leave a trace
Name *
Email *
Website
Anti SPAM * Code (3 + 9) =
Leave me a comment *
 
All comments are subject to editorial review
Post being viewed right now
Item date: 24.08.2009
Views: 1537
Item date: 23.08.2009
Views: 2185
Item date: 21.01.2010
Views: 1337
Item date: 27.11.2011
Views: 810
Item date: 02.01.2009
Views: 349
Item date: 25.09.2009
Views: 366
Item date: 01.01.2009
Views: 913
Item date: 19.03.2009
Views: 1172
Item date: 15.05.2009
Views: 1608
Item date: 12.10.2009
Views: 682