true(1) — Commands
OSF
NAME
true, false − Returns a standard exit value
SYNOPSIS
true
false
DESCRIPTION
The true command returns a 0 (zero) exit value. The false command returns a nonzero exit value. These commands are usually used in input to the sh command.
EXAMPLES
To construct a loop in a shell procedure, enter:
while true
do
date
sleep 60
done
This procedure displays the date and time once a minute. To stop it, press the Interrupt key sequence.
EXIT VALUES
The nonzero value returned by false may vary from system to system.