

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 <ccttrrll-CC>.

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

commands, false, sh


































COHERENT Lexicon                                           Page 1


