bash bash配置文件: 按生效范围划分: 1)全局配置 /etc/profile /etc/profile.d/*.sh /etc/bashrc 2) 个人配置 ~/.bash_profile ~/.bashrc 按功能划分: 1)profile类:为交互式登陆的shell提供配置 2)bashrc类:为非交互式登陆的shell提供配置