true(1) manual page
Table of Contents
true, false - provide truth values
true
false
SUNWcsu
true does nothing, successfully. false does nothing, unsuccessfully.
They are typically used in a shell script sh as:
while true
do command
done
which executes command forever.
true has exit
status 0.
false always will exit with a non-zero value.
sh(1)
Table of Contents