Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

csh(1)

sh(1)

true(1)

NAME

true, false − provide test for status values

SYNTAX

true
false

DESCRIPTION

The true and false commands are usually used in a Bourne shell script. They test for the appropriate status "true" or "false" before running (or failing to run) a list of commands.

EXAMPLE

while true
do
     command list
done

DIAGNOSTICS

The true command has exit status zero.

SEE ALSO

csh(1), sh(1)

Commands

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