##bashrc | bash_profile
Configuring your bash shell, you often want to specify environment variables, set the search path, and do other configurations.
The question arises which files need to be configured in order to do so. A unix shell can run in two modes; as a login shell or as a non-login shell. In case of bash - a Bourne type shell - the login and the non-login variants call their own configuration files, which can be found in ~/.bash_profile
and ~/.bashrc
respectively. The seperation between login and non-login shells makes sense. When a user first logs in to a system (for example via ssh), the user may want to set specific parameters such as which type of terminal is running, or may want to display specific login messages. To avoid doing the same (potentially relatively expensive) initialization, later invocations of the shell will normally open the non-login shell, which can be configured to run with a light initialization.
###Solution When you want to load a PATH variables under all circumstan