tty(1)
NAME
tty − get terminal name
SYNTAX
tty
DESCRIPTION
The tty command prints the pathname of the user’s terminal.
DIAGNOSTICS
“not a tty” if the standard input file is not a terminal.
tty − get terminal name
tty
The tty command prints the pathname of the user’s terminal.
“not a tty” if the standard input file is not a terminal.