TTY(1) — UNIX Programmer’s Manual
NAME
tty − get terminal name
SYNOPSIS
tty
DESCRIPTION
Tty prints the pathname of the user’s terminal.
DIAGNOSTICS
‘not a tty’ if the standard input file is not a terminal.
August 03, 1983 — %W%%Q%%Y%
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.
August 03, 1983 — %W%%Q%%Y%