What's the Difference Between .bashrc and .profile on Linux?
Logging onto a Linux machine running Bash causes certain files to be read. They configure your shell environment. But which files are read, and when, can be confusing. Here’s what really happens.
Source: howtogeek.com