Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tty(1) — Ultrix WS 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

tty(1)

NAME

tty − print current terminal name

SYNTAX

tty [−s]

DESCRIPTION

The tty command prints the pathname of the user’s terminal unless the −s (silent) is given. In either case, the exit value is zero if the standard input is a terminal and one if it is not.

OPTIONS

−sSuppresses pathname. 

DIAGNOSTICS

Prints ‘not a tty’ if the standard input file is not a terminal. 

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