bash的配置文件:

 全局配置:

     etc/profile, /etc/profile.d/*.sh, /etc/bashrc

 个人配置:

    ~/.bash_profile, ~/.bashrc


 profile类文件:

     设定环境变量

    运行命令或者脚本 

 bashrc类的文件:

    设定本地变量

    定义命令别名