It is said that settings for non login shell to go into
.bashrc file and login shell settings to go into
What is really meant by login and non-login shells?
Please explain without using technical jargon as far as possible.
If you are a normal user of Ubuntu Desktop, the only login shell is...your desktop (you type a password to get in, right ;)? Well, technically it's a login shell that starts a GUI, but that's getting in to jargon. And yes, it will read the settings in
The only time you (a normal user) will probably see a login shell that looks like a login shell is if you are having some problem with your desktop and you switch to a virtual terminal with the Ctrl+Alt+F1 shortcut.
The other general cases for having a login shell include: