man.bsd.lv manual page server

Manual Page Search Parameters
TTY(1) General Commands Manual TTY(1)

tty - get terminal name

tty

Tty prints the pathname of the user's terminal.

`not a tty' if the standard input file is not a terminal.

UNIX-7