7.2.3.4. .bash_login example
The ~/.bash_login file defines default
file protection by setting the umask value,
see
Section 3.4.2.2.
The ~/.bashrc file is used to define a
bunch of user-specific aliases and functions and personal
environment variables. It first reads /etc/bashrc, which describes the default prompt
(PS1) and the default umask value. After
that, you can add your own settings. If no ~/.bashrc exists, /etc/bashrc is read by default.