Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

What is the concept behind "tty" in linux?

Where did the terminology "tty" come from in Linux?
by

1 Answer

vishaljlf39
In Linux, there is a pseudo-teletype multiplexor which handles the connections from all of the terminal window pseudo-teletypes (PTS). The multiplexor is the master, and the PTS are the slaves. The multiplexor is addressed by the kernel through the device file located at /dev/ptmx.

The tty command will print the name of the device file that your pseudo-teletype slave is using to interface to the master. And that, effectively, is the number of your terminal window

Login / Signup to Answer the Question.