TRUE(1) User Commands TRUE(1)

true, false - provide truth values

true

false

True does nothing, successfully. False does nothing, unsuccessfully. They are typically used in input to sh(1) such as:

while true
do
command
done

sh(1)

True has exit status zero, false has a non-zero one.

7/04/22 Heirloom Toolchest