If your system has strace then you can list the files opened by the shell, for example using
echo exit | strace bash -li |& grep '^open[a-z]*''^open'
(-li means login shell interactive; use only -i for an interactive non-login shell.)
This will show a list of files which the shell opened or tried to open. On my system, they are as follows:
- /etc/profile
- /etc/profile.d/*(various scripts in- /etc/profile.d/)
- /home/<username>/.bash_profile(this fails, I have no such file)
- /home/<username>/.bash_login(this fails, I have no such file)
- /home/<username>/.profile
- /home/<username>/.bashrc
- /home/<username>/.bash_history(history of command lines; this is not a script)
- /usr/share/bash-completion/bash_completion
- /etc/bash_completion.d/*(various scripts providing autocompletion functionality)
- /etc/inputrc(defines key bindings; this is not a script)
 Use man strace for more information.
 
                