commands.sh

readonly

all

Set read-only shell variables.

More info →

Examples (3)

Set a read-only variable

readonly variable_name=value

Mark a variable as read-only

readonly existing_variable

[p]rint the names and values of all read-only variables to `stdout`

made by @shridhargupta | data from tldr-pages