Returns an exit value of zero (true) or a nonzero exit value (false).
true
false
The true command returns a zero exit value. The false command returns a nonzero exit value. These commands are most often used as part of a shell script.
To construct a loop that displays the date and time once each minute, use the following code in a shell script:
while true
do
date
sleep 60
done