truedo nothing, successfully |
KornShell Built-in |
true [argument...]
true command simply yields an exit status of zero
(success). It ignores any arguments given on the command line.
This can be surprisingly useful, for example, when you are evaluating
shell expressions for their side effects.
0Successful completion.
sh