![xshell login script xshell login script](https://i.imgur.com/zJDee8e.png)
not first on a tty (non-login interactive).Sudo -i (note: sudo's shorthand for login is -i, su's is -l. Xstartup often does this) shells implicitly created when switching users with Those specifically requested to be login, e.g. Those that are first on a shell, including hardware (text-mode) terminals 'interactive login shell', 'login shell', 'initial login shell' usually refer to this. There are four combinations, yet in practice you can often consider them one of three: Login or non-login interactive or non-interactive But usually does what you want.Ĭontext: Login shell versus interactive shell ssh can be an exception case, at least under the covers.
![xshell login script xshell login script](https://photo-1301375639.cos.ap-chengdu.myqcloud.com/undefined/20200225173936-409740.png)
In some cases, environment modules are the thing that keeps you sane
![xshell login script xshell login script](http://blog.netsarang.com/wp-content/uploads/2015/12/94.png)
4.1 "stop now if we don't have this command".3.7.5 Funky things: setting the screen window's title.3.7.4 Funky things: Setting the shell's title.3 Potentially useful fragments for your bashrc and bash_login.1.4.2.1 On a few programs having more requirements.1.2 Checking for login / interactive shell.1.1 Context: Login shell versus interactive shell.