Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ true(1) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

false(1)

ksh(1)

sh(1)

true(1)                                                             true(1)

NAME
     true - return zero exit status

SYNOPSIS
     true

DESCRIPTION
     The true command simply returns a zero exit status and does nothing
     else.

     You can use true in shell scripts to generate the condition true.

     You can use the companion command false to generate the condition
     false (non-zero exit status).

EXIT STATUS
     0

EXAMPLES
     The following shell script initiates an endless loop which you can
     terminate by pressing <DEL>.

     while true
     do
     .
     .
     .
     done

SEE ALSO
     false(1), ksh(1), sh(1).
























Page 1                       Reliant UNIX 5.44                Printed 11/98

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