考证环境变量

考证环境变量

Bash Guide for Beginners

Global variables or environment variables are available in all shells.The env or printenv commands can be used to display environment variables.

看来全局变量就是环境变量

      
Variables that are exported are referred to as environment variables.