UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: readChapter 4
The Bourne Shell and Korn Shell
Next: Reference: return
 

readonly

readonly [variable1 variable2 ...]

Prevent the specified shell variables from being assigned new values. Variables can be accessed (read) but not overwritten. In the Korn shell, the syntax variable=value can be used to assign a new value that cannot be changed.


Previous: Reference: readUNIX in a Nutshell: System V EditionNext: Reference: return
Reference: readBook IndexReference: return

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System