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.
7th Edition
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.
7th Edition