Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tty(1) — Duplix 5.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

TTY(1)  —  Unix Programmer’s Manual

NAME

tty − get terminal name

SYNOPSIS

tty [ option ]

DESCRIPTION

Tty prints the pathname of the user’s terminal unless the −s (silent) is given. In either case, the exit value is 0 if the standard input is a terminal and 1 if it is not. 

OPTIONS

−s Suppresses the printing of the pathname ("silent" mode, no output). 

DIAGNOSTICS

The message ‘not a tty’ means the standard input file is not a terminal. 

INTEGRATED SOLUTIONS 4.3 BSD  —  April 29, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026