|
|
1.1 root 1: .\" @(#)tty.1 6.1 (Berkeley) 4/29/85
2: .\"
3: .TH TTY 1 "April 29, 1985"
4: .AT 3
5: .SH NAME
6: tty \- get terminal name
7: .SH SYNOPSIS
8: .B tty
9: [ -s ]
10: .SH DESCRIPTION
11: .I Tty
12: prints the pathname of the user's terminal unless the \-s
13: (silent) is given. In either case, the exit value is zero if the
14: standard 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.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.