Table of Contents

Bash - Readonly Buitlin (Constant variable and function)

About

The given names are marked readonly; the values of these names may not be changed by subsequent assignment.

Syntax

readonly [-apf] [name[=word] ...]

where:

Without options, a list of all readonly names is printed.

The return status is 0 unless: