Basic Linux Command Example: 


Get help on Linux readonly Command.


   Linux readonly command is use to mark shell variables as unchangeable on Linux system.  The Linux readonly command is one of bash shell built in command.  The command example below show how to get readonly command manual or help on Linux readonly command using shell command, this help show information on how to use the Linux readonly command, the readonly command options and the arguments that can be use with Linux readonly command.


Get Linux readonly command help


  Execute help command and the name of Linux command that we want the help file, the example below we execute help command with -m option to get the help for readonly command using the manpage format.

readonly linux command

[linux@fedora11 ~]$ help -m readonly


    readonly - Mark shell variables as unchangeable.



    readonly [-af] [name[=value] ...] or readonly -p



    Mark shell variables as unchangeable.


    Mark each NAME as read-only; the values of these NAMEs may not be

    changed by subsequent assignment.  If VALUE is supplied, assign VALUE

    before marking as read-only.



      -a        refer to indexed array variables

      -A        refer to associative array variables

      -f        refer to shell functions

      -p        display a list of all readonly variables and functions


    An argument of `--' disables further option processing.


    Exit Status:

    Returns success unless an invalid option is given or NAME is invalid.






    GNU bash, version 4.0.16(1)-release (i386-redhat-linux-gnu)

    Copyright (C) 2009 Free Software Foundation, Inc.

    License GPLv3+: GNU GPL version 3 or later <>


[linux@fedora11 ~]$


Keywords: readonly, readonly command, linux readonly command, readonly linux command, linux command readonly, readonly command manual, readonly manual, readonly help, help readonly, command readonly help, help readonly command