I always see pts and tty when I use the
who command but I never understand how they are different? Can somebody please explain me this?
marked as duplicate by Michael Mrozek♦ Sep 23 '11 at 13:40
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
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:
(More info can be found in
A pty is created by a process through