Linux Shell中readonly只读变量删除_shell 取消只读变量的只读属性_sheygshsi的博客-CSDN博客

网站介绍:文章浏览阅读2.1k次,点赞2次,收藏8次。Linux Shell中readonly只读变量删除1.下载gdb(如果已经有的话就不用下载)[root@localhost ~]# yum install gdb2.删除[root@localhost ~]# readonly var=123[root@localhost ~]# cat << EOF | gdb> attach $$> call unbind_variable("var")> detach> EOF..._shell 取消只读变量的只读属性