1tty(7D) Devices tty(7D)
2
3
4
6 tty - controlling terminal interface
7
9 The file /dev/tty is, in each process, a synonym for the control termi‐
10 nal associated with the process group of that process, if any. It is
11 useful for programs or shell sequences that wish to be sure of writing
12 messages on the terminal no matter how output has been redirected. It
13 can also be used for programs that demand the name of a file for out‐
14 put, when typed output is desired and it is tiresome to find out what
15 terminal is currently in use.
16
18 /dev/tty
19
20
21 /dev/tty*
22
24 ports(1M), console(7D)
25
26
27
28SunOS 5.11 3 Jul 1990 tty(7D)