Allgemein

.bashrc vs .bash_profile

.bashrc vs .bash_profile

When invoked, Bash reads and executes commands from from a set of startup files. .bash_profile is read and executed when Bash is invoked as an interactive login shell, while .bashrc is executed for interactive non-login shell.