bash_profile is used for customizing the user configuration settings. This file is located in the home directory and is mostly hidden. The . bash_profile files are considered as configuration scripts.
What is .bash_profile file in Linux?
bash_profile file is a configuration file for configuring user environments. The users can modify the default settings and add any extra configurations in it. The ~/. bash_login file contains specific settings that are executed when a user logs in to the system.
Where is profile file in Linux?
profile file is located in the user-specific folder called /home/<username>. So, the . profile file for notroot user is located in /home/notroot.