Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought


true                         Command                         true




Unconditional success

true

true does  nothing, successfully.  It always  returns zero (i.e.,
true).

true is useful  in shell scripts when you want  to execute a con-
dition indefinitely.  For example, the following example


        while true; do
                date
        done


prints the  current date and  time on your screen  forever (or at
least until interrupted by typing <ctrl-C>.

***** See Also *****

commands, false, sh


































COHERENT Lexicon                                           Page 1


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