true
Less than 1 minute
true
Returns a
true
value
Description
Returns a true
value.
Usage
true -> <stdout>
Examples
By default, true
also outputs the term "true":
» true
true
However you can suppress that with the silent flag:
» true -s
Flags
-s
silent - don't output the term "true"
See Also
!
(not): Reads the STDIN and exit number from previous process and not's it's conditionand
: Returnstrue
orfalse
depending on whether multiple conditions are metfalse
: Returns afalse
valueif
: Conditional statement to execute different blocks of code depending on the result of the conditionor
: Returnstrue
orfalse
depending on whether one code-block out of multiple ones supplied is successful or unsuccessful.