Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?

I think these terms almost refer to the same thing when used loosely:

terminal
shell
tty
console

What exactly does each of these terms refer to?
by

2 Answers

rahul07
Terminal = An interface that provides a display for output and a keyboard for input to a shell session.

Shell = Interpreter that executes commands typed as strings

Console: Actually two types of console we use:

Physical console =The hardware display and keyboard used to interact with a system
Virtual console = One of multiple logical consoles that can each support an independent login session.
tty (teletype i.e., terminal) = A terminal is a basically just a user interface device that uses text for input and output messages.
sandhya6gczb
In unix terminology, the short answer is that

terminal = tty = text input/output environment
console = physical terminal
shell = command line interpreter

Login / Signup to Answer the Question.