true — return success status
true [args...]
Most shells have a built-in true command. See the manual for each individual shell for its built-in command. This command is more commonly used with exec(1) and nosh(1).
true is a utility that simply exits with a zero exit status in normal use. It ignores [args...]
true will exit with a non-zero exit status if an error occurs during argument parsing.
Some other external implementations of true are shell
scripts that wrap a shell's built-in true command.
This is a security problem, as significant care must be taken to ensure that
the shell correctly deals with people who symbolically link the script to other
names (such as -i), who supply extra script arguments,
and who set environment variables such as IFS.
This true is not a shell script.