I'm interested to know which script file(s) on Ubuntu loads startup files like .bashrc or .bash_profile? Any hint or reference is appreciated.
Asked
Active
Viewed 117 times
1 Answers
3
For the most part Bash loads them itself. The exceptions are:
/etc/profile
, which loads/etc/bash.bashrc
and/etc/profile.d/*.sh
~/.profile
, which loads~/.bashrc
This applies to Debian as well btw.

wjandrea
- 14,236
- 4
- 48
- 98