shell使用学习笔记1-变量的使用(echo,unset)

 变量的取用与设置:echo   若该变量需要在其他子程序执行,则需要以 export 来使变量变成环境变量: “export PATH”     变量设置规则:unset 取消变量的方法为使用 unset :“unset 变量名称”例如取消 myname 的设置: “unset myname” https://www.showapi.com/book/view/2089/88   例子: 环境变
相关文章
相关标签/搜索