Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ readonly(1SH) — UTek 4.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

break(1sh)

cd(1sh)

chdir(1sh)

continue(1sh)

csh(1csh)

echo(1sh)

eval(1sh)

exec(1sh)

exit(1sh)

export(1sh)

hash(1sh)

login(1)

pwd(1sh)

read(1sh)

return(1sh)

set(1sh)

sh(1sh)

shift(1sh)

test(1sh)

times(1sh)

trap(1sh)

type(1sh)

ulimit(1sh)

umask(1sh)

unset(1sh)

wait(1sh)

which(1sh)

execve(2)



READONLY(1SH)           COMMAND REFERENCE           READONLY(1SH)



NAME
     readonly - sets variables to readonly (sh built-in)

SYNOPSIS
     readonly [ name ...  ]

DESCRIPTION
     The specified names are marked read only and the values of
     these names may not be changed by subsequent assignment. If
     no arguments are given, a list of all readonly names is
     printed. This is especially useful in a restricted shell
     environment.

EXAMPLES
     The following command marks the variables HOME and PATH as
     read only.  Any subsequent assignment to either of these
     will result in an error.

          readonly HOME PATH

RETURN VALUE
     [NO_ERRS]      Command completed without error.

CAVEATS
     The read only attribute for variables applies only to
     variables in the current shell. Exported variables do not
     retain read only status.

SEE ALSO
     break(1sh), cd(1sh), chdir(1sh), continue(1sh), csh(1csh),
     echo(1sh), eval(1sh), exec(1sh), exit(1sh), export(1sh),
     hash(1sh), login(1), pwd(1sh), read(1sh), return(1sh),
     set(1sh), sh(1sh), shift(1sh), test(1sh), times(1sh),
     trap(1sh), type(1sh), ulimit(1sh), umask(1sh), unset(1sh),
     wait(1sh), which(1sh), and execve(2).




















Printed 4/6/89                                                  1





































































%%index%%
na:384,107;
sy:491,206;
de:697,489;
ex:1186,356;
rv:1542,177;
ca:1719,231;
se:1950,860;
%%index%%000000000121

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026