bash的配置文件:
全局配置:
etc/profile, /etc/profile.d/*.sh, /etc/bashrc
個人配置:
~/.bash_profile, ~/.bashrc
profile類文件:
設定環境變量
運行命令或者腳本
bashrc類的文件:
設定本地變量
定義命令別名
bash的配置文件:
全局配置:
etc/profile, /etc/profile.d/*.sh, /etc/bashrc
個人配置:
~/.bash_profile, ~/.bashrc
profile類文件:
設定環境變量
運行命令或者腳本
bashrc類的文件:
設定本地變量
定義命令別名