无关本文比较的TTY
TTY is a toolbox for developing beautiful command line clients in Ruby
with a fluid interface for gathering input, querying terminal
properties and displaying information.
github
官网
但此处比较的不是这个RUBY命令行工具。
控制台,终端,tty,shell等概念的区别
What is the exact difference between a ‘terminal’, a ‘shell’, a ‘tty’ and a ‘console’?
终端,Shell,“tty”和控制台(console)有什么区别?
(以下内容皆从上述链接中复制粘贴整理所得,侵删致歉)
A terminal is at the end of an electric wire, a shell is the home of a turtle, tty is a strange abbreviation and a console is a kind of cabinet.
In unix terminology, the short answer is that
terminal
= tty
= text input/output environment(文本的输入输出环境)
console
= physical terminal(物理终端)
shell
= command line interpreter(命令行解释器)
Teleprinter(TTY)& Terminal
more...