Two Aspects of shells
| interactive | login | description |
|---|---|---|
| 1 | 1 | First shell to log into the system; e.g. Linux without x window |
| 1 | 0 | All the shells after login; e.g. the shell inside a terminal emulator |
| 0 | 1 | Used by some window system; e.g. the shell where startx is called so that x window starts |
| 0 | 0 | Any kinds of scripting; e.g. running a script |