Linux 环境变量两种方式

全局环境变量             /etc/profile      ---------source  /etc/profile使其生效

 

用户的环境变量       ~/.bash_profile

你可能感兴趣的:(linux关于)