TRUE(1) General Commands Manual TRUE(1)

truereturn true value

true

The true utility shall return with exit code zero.

None.

None.

None.

None.

None.

Default.

None.

None.

None.

None.

The true utility always exits with a value of zero.

Default.

The true utility is typically used in shell scripts. The special built-in utility : (see colon(1) ) is sometimes more efficient than true.

The true utility has been retained in . 2, even though the shell special built-in : provides similar functionality, because true is widely used in existing scripts and is less cryptic to novice human script readers.

September 1991 posix.fail