[CentOS-devel] /dev/pts/??

Dag Wieers

dag at centos.org
Tue Dec 30 01:18:05 UTC 2008


On Mon, 29 Dec 2008, Michel Donais wrote:

> In Centos or RHEL terminal devices are created as /dev/pts/1 .../2  .../3 etc.
> On Some others Unix they are defines as dev/tty01 ..../tty02  .../tty03
> How do I can get theses terminals identites in Centos when I open a Terminal of any kind?

Do you mean this:

[root at lisse root]# tty
/dev/pts/5

tty is used for console terminals
pts is used for 'virtual/pseudo' terminals (like created by ssh or screen)

There are other character terminal devices that are used for specific 
purposes, like ttyS for serial ports.

-- 
--   dag wieers,  dag at centos.org,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]



More information about the CentOS-devel mailing list