变量类型
环境变量export 和 普通变量
环境变量可以被子进程继承,普通变量不能被子进程继承
环境变量加载方式
.bashrc
.bash_profile
都只对/bin/bash环境生效,对/bin/sh 环境不生效
python多版本管理
pyenv local 3.7
环境变量export 和 普通变量
环境变量可以被子进程继承,普通变量不能被子进程继承
.bashrc
.bash_profile
都只对/bin/bash环境生效,对/bin/sh 环境不生效
pyenv local 3.7