tty(7D) Devices tty(7D)NAMEtty - controlling terminal interface
DESCRIPTION
The file /dev/tty is, in each process, a synonym for the control termi‐
nal associated with the process group of that process, if any. It is
useful for programs or shell sequences that wish to be sure of writing
messages on the terminal no matter how output has been redirected. It
can also be used for programs that demand the name of a file for out‐
put, when typed output is desired and it is tiresome to find out what
terminal is currently in use.
FILES
/dev/tty
/dev/tty*
SEE ALSOports(1M), console(7D)SunOS 5.10 3 Jul 1990 tty(7D)