Skip to content

Glossary

PTY

A pseudo-terminal (PTY) is a pair of virtual character devices that emulate a physical terminal in software. One end is driven by a program such as a shell, the other by a terminal emulator. The PTY carries keystrokes, output and control signals, enabling interactive command-line sessions without any real hardware.