Scripts in the /etc/ folder will be called for all users. Particular, user-specific initialization scripts are located in the HOME folder of each user. These are as follows:
- $HOME/.bash_profile: This contains user-specific bash environment default settings. This script is called during the login process.
- $HOME/.bash_login: This contains the second user environment initialization script called during the login process.
- $HOME/.profile: If present, this script internally calls the .bashrc script file.
- $HOME/.bashrc: This is an interactive shell or terminal initialization script.
All the preceding script names start with a dot. These are hidden files. We will need to give the ls -a command to view these files. ...