Search notes:

/dev/pts

Directory containing device files for slave pseudo terminals.
The file name (e.g. /dev/pts/4) of the terminal connected to STDIN can be determined with tty.
The files uner /dev/pts might be symbolically linked from /proc/$pid/fd/.

See also

devpts.

Index