February 2001
Beginner to intermediate
448 pages
9h 2m
English
Official Description
The false command returns a nonzero exit value.
Syntax
false
Options
None
Oddities
Typically used to check for nonzero exit status.
Can be considered a do-nothing, unsuccessful command.
Example
$ until false # Keeps looping until false returns true
# (never happens)
> do
> date
> done
Sun Nov 26 17:38:22 EST 2000
Sun Nov 26 17:38:22 EST 2000
(...)
CTRL+C
Read now
Unlock full access