What do pty and tty mean?

tty originally meant “teletype” and “pty” means “pseudo-teletype”. In UNIX, /dev/tty* is any device that acts like a “teletype”, i.e: 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, … Read more