The difference between TTY and console and terminal

Source: Internet
Author: User

While looking at Orange's, the implementation of the operating system, the seventh chapter also shows the two terms TTY and console. I looked up some web pages, but I couldn't explain them, and I made some understanding with my own thoughts.

TTY, including the mouse, keyboard, touch screen, and so on, are all character devices that are typically used for input.

Console, which is used to display the results, usually console is the display, it can only output, can not enter.

The role of terminal is to interact with the user, so you can receive input from a TTY device. Includes a set of graphical interfaces that can be displayed to receive input, plus the basic processing of these inputs.

Windows after the boot interface is a terminal we face, this interface provides a set of mouse clicks, double-click, drag, hit the keyboard and so on support, and support double-click Open a variety of applications, and the results through the screen to show us.

In Linux, a more intuitive example of terminal is the command window. The intuitive example of console is the display. We hit the command window and we get the display on the screen. For example, below LS, you can see the contents of the folder, which is displayed on the screen.

We can simplify the understanding that: Normally, terminal receives TTY input and processes it, and the results are displayed through the console.

It needs to be said that these three words can be translated into terminals, so it is difficult to distinguish these three concepts under Linux, particularly confusing.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.