=/^G show total bytes now; document may not always work
[unix-history] / usr / src / usr.bin / tty / tty.1
... / ...
CommitLineData
1.\" @(#)tty.1 6.1 (Berkeley) %G%
2.\"
3.TH TTY 1 ""
4.AT 3
5.SH NAME
6tty \- get terminal name
7.SH SYNOPSIS
8.B tty
9[ -s ]
10.SH DESCRIPTION
11.I Tty
12prints the pathname of the user's terminal unless the \-s
13(silent) is given. In either case, the exit value is zero if the
14standard input is a terminal and one if it is not.
15.SH DIAGNOSTICS
16`not a tty' if the standard input file is not a terminal.