Linux Bash Config
This article introduces how bash config initialized.
bash initialization
for login shell profile and rc config will be loaded, non-login shell will only load rc file.
system level
- login shell will read
/etc/profile
/etc/bashrc
specific for bash
user level
- ~/.bash_profile
- ~/.bashrc