If I'm not wrong, tty is composed of:Line disciplineTTY driverIn addition, a shell (bash, for example) is a program that execute different commands/programs like ls, mkdir, rm, ...After reading this post, I guess the shell is the same as TTY driver, because they share some features like job control, but I'm not sure at all.So, are the shell and tty driver equivalent?Please, correct me if something I wrote is wrong.
Shell and tty driver. Equivalent?
shell;tty
Have a look at the accepted answer again. A TTY is a terminal device, the shell is a command line interpreter (or command language interpreter). These are two very distinct things. A TTY doesn't have job control.From the POSIX Base Definitions:Terminal (or Terminal Device);  A character special file that obeys the specifications of the general terminal interface.Command Language Interpreter;  An interface that interprets sequences of text input as commands. It may operate on an input stream or it may interactively prompt and read commands from a terminal. It is possible for applications to invoke utilities through a number of interfaces, which are collectively considered to act as command interpreters. The most obvious of these are the sh utility and the system() function, although popen() and the various forms of exec may also be considered to behave as interpreters.