What is tty

Last updated: April 1, 2026

Quick Answer: TTY stands for TeleTYpe, a terminal device that enables text-based interaction between users and computer systems through input and output commands.

Key Facts

Overview

A TTY, short for TeleTYpe, is a terminal device that serves as the interface between a user and a computer operating system. In computing history, TTYs were physical devices resembling typewriters that transmitted and received text data over communication lines. Today, the term refers to virtual terminal devices that maintain this historical functionality while running entirely in software.

Historical Background

The concept of TTY originated from teletypewriter machines developed in the late 19th century. These devices could transmit text over telegraph wires, allowing remote communication of typed messages. When computers became prevalent, operating systems adopted the TTY concept as a standard interface for human-computer interaction, allowing users to input commands and receive text output.

How TTYs Work

TTYs function as character-oriented devices that handle line buffering and editing. When a user types on a keyboard, the TTY captures the input, processes it according to certain rules, and passes it to the requesting program. Output from programs is similarly processed through the TTY before being displayed on the screen. This layer of abstraction allows applications to interact with terminals in a standardized way regardless of the underlying hardware.

Types of TTYs

There are several types of TTYs in modern systems: physical TTYs for hardware terminals, virtual TTYs (PTY) created by terminal emulators, and pseudo-terminals used for remote connections like SSH. Virtual TTYs are the most common today, created by terminal emulator applications that provide a graphical window containing a terminal interface.

Modern Usage

Contemporary users interact with TTYs primarily through terminal emulators like GNOME Terminal, iTerm2, or Windows Terminal. While the technology has evolved significantly, the fundamental concepts remain unchanged. System administrators, developers, and power users rely on TTY interfaces for efficient command-line work and system management.

Related Questions

What is the difference between TTY and terminal emulator?

A TTY is the underlying device interface that handles terminal communication, while a terminal emulator is an application that creates virtual TTYs and provides a graphical window for interaction.

Why do systems still use TTYs?

TTYs provide a standardized, reliable interface for text-based communication between users and systems. They remain essential for system administration, remote access, and resource-efficient computing.

Can I have multiple TTYs open at once?

Yes, modern systems support multiple TTY sessions simultaneously. On Linux, virtual TTYs are accessible through different terminal windows or tabs, and multiple SSH sessions each create separate TTY instances.

Sources

  1. Wikipedia - Teletypewriter CC-BY-SA-4.0
  2. GNU Screen Documentation GFDL