Read the man bash > INVOCATION section for a description of what files it loads on startup.
In general, the /etc one is loaded first, then the one in the user's home directory, if it exists. So the first is used for global settings, and the latter for personal settings, which can overwrite the globals.
|