Best Answer: What Is Tty and Pty in Linux?
Contents a Tty Is a Native Terminal Device, the Backend Is Either Hardware or Kernel Emulated. a Pty (Pseudo Terminal Device) Is a Terminal Device Which Is...
A tty is a native terminal device, the backend is either hardware or kernel emulated. A pty (pseudo terminal device) is a terminal device which is emulated by an other program (example: xterm , screen , or ssh are such programs). A pts is the slave part of a pty.
What is tty Pty?
In UNIX, /dev/tty* is any device that acts like a “teletype”, ie, a terminal. (Called teletype because that’s what we had for terminals in those benighted days.) A pty is a pseudotty, a device entry that acts like a terminal to the process reading and writing there, but is managed by something else.
Must Read
What is pseudo Pty?
A pseudo terminal (pty) is a pair of character devices: a master device and a slave device. The slave device provides an interface identical to that of a tty device as defined by POSIX.