1TTY(1)                      General Commands Manual                     TTY(1)
2
3
4

NAME

6       tty - get terminal name
7

SYNOPSIS

9       tty [ -s ]
10

DESCRIPTION

12       Tty  prints  the pathname of the user's terminal unless the -s (silent)
13       is given. In either case, the exit value is zero if the standard  input
14       is a terminal and one if it is not.
15

DIAGNOSTICS

17       `not a tty' if the standard input file is not a terminal.
18
19
20
217th Edition                     April 29, 1985                          TTY(1)
Impressum