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.
Where is my bash file Linux?
bashrc in either my user directory ( ~/. bashrc ), or in my home directory, or in the main file system directory. There is no . bashrc in /etc/ (there is a bash.
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.