Are the concepts of login/non-login shells the same as the concepts of non-interactive/interactive shells (respectively)?
Or are the concepts orthogonal yielding four different combinations?
I am trying to get a clear picture of which .bashrc
, .bash_profile
scripts get sourced under various circumstances and I find that articles sometimes use these concepts interchangeably.