TRUE(1) General Commands Manual TRUE(1)
NAME
true — return true
value
SYNOPSIS
true |
DESCRIPTION
The true utility will return with exit
code zero.
OPTIONS
None.
OPERANDS
None.
STDIN
Not used.
INPUT FILES
None.
ENVIRONMENT VARIABLES
None.
ASYNCHRONOUS EVENTS
Default.
STDOUT
Not used.
STDERR
None.
OUTPUT FILES
None.
EXTENDED DESCRIPTION
None.
EXIT STATUS
Default.
CONSEQUENCES OF ERRORS
None.
APPLICATION USAGE
This utility is typically used in shell scripts, as shown in the
the EXAMPLES section. The special built-in utility ":" is
sometimes more efficient than true .
EXAMPLES
This command will be executed forever:
while true
do
command
done
FUTURE DIRECTIONS
None.
SEE ALSO
false(1) , Shell Commands .
February 1997 posix.fail