Tutorial by Examples

.profile is read by most shells on startup, including bash. However, .bash_profile is used for configurations specific to bash. For general initialization code, put it in .profile. If it's specific to bash, use .bash_profile. .profile isn't actually designed for bash specifically, .bash_profile is...

Page 1 of 1