配置号的环境,在关闭终端后,环境有变成not found
执行下面代码
echo 'source ~/.bash_profile'>>~/.bash_profile
这里的.bash_profile可以是以下文件,也可以是自定义文件。
a. /etc/profile
b. /etc/paths
c. ~/.bash_profile
d. ~/.bash_login
e. ~/.profile
f. ~/.bashrc
配置号的环境,在关闭终端后,环境有变成not found
执行下面代码
echo 'source ~/.bash_profile'>>~/.bash_profile
这里的.bash_profile可以是以下文件,也可以是自定义文件。
a. /etc/profile
b. /etc/paths
c. ~/.bash_profile
d. ~/.bash_login
e. ~/.profile
f. ~/.bashrc