Skip to main content
2 of 4
I am aware of other explanations about it on the site but still too technical.
Chopnut
  • 141
  • 1
  • 6

Does TTY always get used when we open any terminal?

I have been trying to understand how TTY device driver works on a linux machine. For a few days now and still cant wrap my head around the idea.

When we open a terminal to ssh to a server, I understand most likely it will use pseudo-tty, that acts like a TTY in the terminal and process the commands typed.

Since it uses pseudo type tty, under the hood does it still use the tty technology to sent out commands to the console?

In laymens term, is TTY always used in sending out commands to the console regardless of terminal used? Is it the main driver for all things terminal?

I understand that tty character device that handles input and output and bunch of things that sends out signals to master/slave..Also know that tty was used in the olden days. Is it still used today when opening our terminal regarding of os/program used?

My knowledge is all over the place. I have very limited linux knowledge. Would love to have a laymens explanation on how TTY works in todays linuces.

Anything would be helpful including calling names if Im completely way out of my league.

—- I would like to know if the TTY driver is still in used for every terminal connections? Be it using gui terminal, ssh. Or does the pseudo tty is now the driver for the connection to handle i/o?

Chopnut
  • 141
  • 1
  • 6