全局设置文件:
/etc/profile
/etc/bashrc
用户设置文件:
~/.bashrc
~/.bash_profile
~/.bash_logout:在用户logout的时候自动执行。
~/.bash_history:用户login时自动读取其内容并加载到内存history记录中,logout时将内存history记录写入。
/etc/profile.d/*.sh:在/etc/profile中被执行,其中的环境设定,也会被全局引用
全局设置文件:
/etc/profile
/etc/bashrc
用户设置文件:
~/.bashrc
~/.bash_profile
~/.bash_logout:在用户logout的时候自动执行。
~/.bash_history:用户login时自动读取其内容并加载到内存history记录中,logout时将内存history记录写入。
/etc/profile.d/*.sh:在/etc/profile中被执行,其中的环境设定,也会被全局引用