source 配置文件
修改配置文件后,必须注销重新登录才能生效,使用source命令可以不用重新登录
主要5个环境变量配置文件:
/etc/profile 前三个对所有用户生效,
/etc/profile.d/*.sh
/etc/bashrc
~/.bash_profile 后两个只对当前用户生效
~/.bashrc