I ran the last
command in Linux; I got the output:
pts/0, pts/1, pts/2, pts/3, pts/4 and pts/5
What does pts mean?
I ran the last
command in Linux; I got the output:
pts/0, pts/1, pts/2, pts/3, pts/4 and pts/5
What does pts mean?
The pts/0
is telling you which "pseudo terminal" the user was logged in on. In this case it's terminal 0,1,2 etc.
A tty
is a native terminal device, the backend is either hardware or kernel emulated.
A pts
(pseudo terminal device) is a terminal device which is emulated by an other program (example: xterm
, screen
, or ssh
are such programs).