View Full Version : what is pts
yonderstar
07-25-2004, 01:36 AM
silly question but what is the difference between tty and pts ?
i know tty means terminal
when i use the 'who' command i also see myself login in pts/0
i guess it has something to do with terminal
thanks
Alan Connor
07-25-2004, 01:36 AM
On 28 Jun 2004 09:57:39 -0700, yonderstar <liuyingzhi@yahoo.com> wrote:
>
>
> silly question but what is the difference between tty and pts ?
> i know tty means terminal
> when i use the 'who' command i also see myself login in pts/0
> i guess it has something to do with terminal
>
Not a silly question, yonderstar. The only silly questions are ones
that you know the answer to already.
Pts is a "pseudo-terminal". The original tty is multiplexed into
a number of pseudo-ttys. Bring up top and you will see the the
tty that any windows you have open in that session are based on.
If top doesn't show the tty numbers, hit f and choose to display
them, then return to top's main screen and hit W to make the change
permanent (so to speak).
Hit c to show the full commands.
AC
vBulletin v3.0.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.