linux tty是什么_什么是Linux TTY?

linux tty是什么

linux tty是什么

In the old times of Unix and BSD where Windows was not born the systems were very different. Computers were big and heavy but very weak according to these days. The use cases and system architectures were very different too. If we need to connect a system we generally need TeleTYpewriter TTY. TTY provides a text-only console to the systems. They are very limited in bandwidths and speed. Old days teletypes used to send data over serial lines which is very slow according to today’s networks and connections.

在Windows尚未诞生的Unix和BSD的旧时代,系统是完全不同的。 如今,计算机又大又笨,但功能却很弱。 用例和系统架构也非常不同。 如果需要连接系统,通常需要TeleTYpewriter TTY。 TTY为系统提供了纯文本控制台。 它们的带宽和速度非常有限。 过去,电传打字机通常通过串行线路发送数据,根据当今的网络和连接,这非常慢。

今天的TTY (Todays TTY’s)

TTY usage resumes even today. Most of the Linux distributions provides TTY’s. As stated before TTY’s are text consoles to the systems. When a Linux system like Ubuntu, CentOS is started is spawn TTY’s. We can access these TTY’s by pressing Ctrl+Alt+F1 .to Ctrl+Alt+F7 . In some distributions this may be less or more.

TTY的使用直到今天仍在恢复。 大多数Linux发行版都提供TTY。 如前所述,TTY是系统的文本控制台。 当Linux系统(如Ubuntu)启动CentOS时,会生成TTY。 我们可以通过按Ctrl+Alt+F1 Ctrl+Alt+F7来访问这些TTY。 在某些发行版中,该数目可能更少或更多。

图形控制台或TTY (Graphical Console or TTY)

Last console is preserved for graphical usage in Linux distributions. So we can access this TTY with Ctrl+Alt+F7 . We actually call this as Desktop.

保留了最后一个控制台,以供Linux发行版中的图形使用。 因此,我们可以使用Ctrl+Alt+F7来访问此TTY。 我们实际上称其为桌面。

列表运行TTY (List Running TTY)

We can simply list already running TTY with the ps command. Issue following command which will list already running TTY.

我们可以简单地使用ps命令列出已经运行的TTY。 发出以下命令,该命令将列出已经运行的TTY。

$ ps aux | grep tty

TTY vs.控制台vs.Shell (TTY vs. Console vs. Shell)

While speaking about terms like TTY, Console and Shell they generally used interchangable. In general terms this is not a problem but they are slighty different things.

在谈论诸如TTYConsoleShell类的术语时,它们通常互换使用。 总的来说,这不是问题,但它们是完全不同的东西。

TTY provides text input/output environment and this is a generally a logical or soft entity.

TTY提供文本输入/输出环境,通常是逻辑或软实体。

Console is a physical terminal which is generally runs TTY

Console是通常运行TTY的物理终端

Shell is a command line interpreter like bash.

Shell是类似于bash的命令行解释器。

LEARN MORE  How To Install and Configure GNOME Desktop On Ubuntu?
了解更多如何在Ubuntu上安装和配置GNOME桌面?

翻译自: https://www.poftut.com/what-is-linux-tty-and-its-applications/

linux tty是什么

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值