Profile Of Kaballos Mexican Kitchen & Bar
Feb 27, 2019the original sh sourced .profile on startup. Bash will try to source .bash_profile first, but if that doesn't exist, it will source .profile. The .profile dates back to the original bourne shell known as sh.
Jul 25, 2024if i run source ~/.profile it does get added to my path. I definitely don't have a ~/.bash_login or ~/.bash_profile -- so why would bash not read my local .profile? The one possible exception is /etc/profile and .profile, which may be used by multiple different shells (including at least sh and bash).