tty(7d) opensolaris man page | unix.com

Man Page: tty

Operating Environment: opensolaris

Section: 7d

tty(7D) 							      Devices								   tty(7D)

NAME
tty - controlling terminal interface
DESCRIPTION
The file /dev/tty is, in each process, a synonym for the control terminal 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 output, when typed output is desired and it is tiresome to find out what terminal is currently in use.
FILES
/dev/tty /dev/tty*
SEE ALSO
ports(1M), console(7D) SunOS 5.11 3 Jul 1990 tty(7D)
Related Man Pages
tty(4) - redhat
forkpty(3) - mojave
tty(4) - linux
tty(4) - debian
tapset::tty(3stap) - centos
Similar Topics in the Unix Linux Community
Exits from putty instead of shell script
Stty: : No such device or address
Asst: Shell Script to sed
Remove newlines
Can we build a tool for Windows to retrieve data from UNIX servers (putty console)