3 tty \- print the device name of this tty
5 \fBtty \fR[\fB\-s\fR]\fR
18 .FL "\-s" "Silent mode, only the exit status is affected."
20 .EX "tty " "Print the tty name"
23 Print the name of the controlling tty. If the flag \fB\-s\fR is given,
24 \fItty\fR is equivalent to the call \fBtest \-t 0\fR.