true(1)true(1)NAME
true, false - return exit status zero or one respectively
SYNOPSISDESCRIPTION
The command does nothing, and returns exit code zero. The command does
nothing, and returns exit code one. They are typically used to con‐
struct command procedures.
RETURN VALUE
Exit values are:
always from
true.
always from
false.
EXAMPLES
This command loop repeats without end:
WARNINGS
is typically used in shell scripts. Some shells provide a built-in
version of (and that is more efficient than the standalone versions.
SEE ALSOcsh(1), ksh(1), sh(1), sh-posix(1).
STANDARDS CONFORMANCEtrue(1)