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.

Examples

while true
do
     command list
done

Diagnostics

The true command has exit status zero.

See Also

csh(1), sh(1)

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