
{"id":17897,"date":"2019-01-28T22:33:51","date_gmt":"2019-01-28T22:33:51","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=17897"},"modified":"2019-01-28T22:33:51","modified_gmt":"2019-01-28T22:33:51","slug":"how-to-use-bash-builtin-command-named-readonly","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2019\/01\/28\/how-to-use-bash-builtin-command-named-readonly\/","title":{"rendered":"How to use  bash builtin command named &#8220;readonly&#8221; ?"},"content":{"rendered":"<p><u>ABOUT readonly<\/u><\/p>\n<p>\nMarks name specified by Name parameter as read-only.\n<\/p>\n<p><u>TYPICAL COMMANDLINE SESSION<\/u><br \/>\n[bash]<br \/>\n$a=1<br \/>\n$a=2<br \/>\n$echo $a<br \/>\n2<br \/>\n$readonly a<br \/>\n$a=1<br \/>\nbash: a: readonly variable<br \/>\n$echo $a<br \/>\n2<br \/>\n$a=2<br \/>\nbash: a: readonly variable<br \/>\n$<\/p>\n<p>[\/bash]<\/p>\n<p>LINK<br \/>\n<a href=\"https:\/\/www.ibm.com\/support\/knowledgecenter\/ssw_aix_72\/com.ibm.aix.osdevice\/bourne_shell_builtin_cmd_list.htm\">https:\/\/www.ibm.com\/support\/knowledgecenter\/ssw_aix_72\/com.ibm.aix.osdevice\/bourne_shell_builtin_cmd_list.htm<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ABOUT readonly Marks name specified by Name parameter as read-only. TYPICAL COMMANDLINE SESSION [bash] $a=1 $a=2 $echo $a 2 $readonly a $a=1 bash: a: readonly variable $echo $a 2 $a=2 bash: a: readonly variable $ [\/bash] LINK https:\/\/www.ibm.com\/support\/knowledgecenter\/ssw_aix_72\/com.ibm.aix.osdevice\/bourne_shell_builtin_cmd_list.htm<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,8,83],"tags":[457,508,1350],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/17897"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=17897"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/17897\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=17897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=17897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=17897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}