Used to set up user-specific settings in bash.
Parts of a login shell:
/etc/profile
– bash looks for this first, proceeds if so~/.bash_profile
– this is first priority; if found, bash will not proceed~/.profile
– second priority~/.bash_login
– final priority; this is not commonly used
Used to set up configurations which apply to all users.
Parts of a non-login shell:
/etc/bash.bashrc
~./bashrc
– used for bash configuration (e.g. aliases)