I took the time to construct this diagram a while back. Thought I'd post it here since it might be useful to others. AFAIK, it's complete and accurate, though any comments on it would be appreciated. Note that the bash startup process is even more complicated than this diagram indicates if bash is launched with certain command-line options. But trying to cover all those cases would make this diagram uselessly complex.