TRUE(1) General Commands Manual TRUE(1)

truereturn true value

true

The true utility will return with exit code zero.

None.

None.

Not used.

None.

None.

Default.

Not used.

None.

None.

None.

Default.

None.

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 .

This command will be executed forever:

while true
do
    command
done

None.

false(1) , Shell Commands .

February 1997 posix.fail