Linux环境变量
~/.bash_profile && ~/.bashrc
用户登陆Linux操作系统的时候,”/etc/profile”, “~/.bash_profile”等配置文件会被自动执行。
执行过程是这样的:
登陆Linux系统时,首先启动”/etc/profile”,
然后启动用户目录下的”~/.bash_profile”,
如果”~/.bash_login”和”~/.profile”文件存在的时候也会在执行。
下面看看”~/.bash_profile”文件里面有什么东西
$cat ~/.bash_profile
# .bash_profile
# Get