man.bsd.lv manual page server

Manual Page Search Parameters
TRUE(1) General Commands Manual 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 nonzero.

UNIX-7