tty(1) - Unix First Edition Manual Page
11/3/71TTY (I)

NAME tty -- get tty name
SYNOPSIS tty
DESCRIPTION tty gives the name of the user's typewriter in the form"ttyn" for n a_digit. The actual path name is then


"/dev/ttyn".
FILES
SEE_ALSO
DIAGNOSTICS "not a tty" if the standard input file is not a typewriter.
BUGS
OWNER dmr, ken