What is exact purpose of login versus non-login bash shells?
I hope I am posting this question in the right place.
During the set up for Linux From Scratch I was directed to use a login shell as opposed to a non-login shell. I have spent a fair amount of time trying to figure out the exact purpose for one as opposed to the other. I have found a great deal of information on how to invoke the two types of shells as well as the scripts that are run by each of them. What is not clear to me is why one would use one of these shells as opposed to the other. Now that I have spent so much time trying to track down an answer I would greatly appreciate any details any of you out there could give me.
Thanks in advance, M.