false(1) false(1)
NAME
false - return non-zero exit status
SYNOPSIS
false
DESCRIPTION
The false command simply returns a non-zero exit status and does noth-
ing else. You can use false in shell scripts to generate the condition
false.
You can use the companion command true to generate the condition true
(exit status 0).
EXIT STATUS
Always non-zero
EXAMPLES
Example 1
The exit status of false:
$ false
$ echo $?
1
Example 2
The following shell script initiates an endless loop which you can
terminate by pressing DEL.
until false
do
.
.
.
done
SEE ALSO
sh(1), true(1).
Page 1 Reliant UNIX 5.44 Printed 11/98