What is the difference between ~ . profile and ~ . bash_profile? The was the original profile configuration for the Bourne shell (a k a , ) , being a Bourne compatible shell will read and use it The on the other hand is only read by It is intended for commands that are incompatible with the standard Bourne shell
How to permanently set environmental variables You can add it to the file profile or your login shell profile file (located in your home directory) To change the environmental variable "permanently" you'll need to consider at least these situations:
Setting PATH vs. exporting PATH in ~ . bash_profile What's the difference and which is better to use when customizing my bash profile? Documentation on the export command is scarce, as it's a builtin cmd Excerpt from version 1 of my ~ bash_profil