env 观察环境变量与常见环境变量说明

shell使用学习笔记2-环境变量的功能(env 与 export)

 

set 观察所有变量 (含环境变量与自订变量)

shell使用学习笔记2-环境变量的功能(env 与 export)

 

?:(关于上个执行指令的回传值)

shell使用学习笔记2-环境变量的功能(env 与 export)

  • export: 自订变量转成环境变量,让该变量内容继续的在子程序中使用

shell使用学习笔记2-环境变量的功能(env 与 export)

 

影响显示结果的语系变量 (locale)

shell使用学习笔记2-环境变量的功能(env 与 export)

shell使用学习笔记2-环境变量的功能(env 与 export)

 

相关文章: