Terminal, Console, and Shell¶
- What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?
- What's the difference between a console, a terminal, and a shell?
TTY or "teletypewriter" was the first kind of terminal. It was literally a typewriter that would print the input and output from a computer (most likely a mainframe) on a piece of paper.
A terminal is not supposed to be smart; it is only supposed to process input and be good at displaying textual output.
Software equivalent to the TTY today:
Used to a device used in the mid 20th century. It replaced the paper printing module of the TTY with an actual screen which would display input and output.
Terminal and console are synonymous in software terms today.
A shell is the program that the terminal sends user input to. The shell generates output and passes it back to the terminal for display.