true(1)

true1

Return true value

Usage

true

Overview

The true utility always returns with an exit code of zero.

Some shells may provide a builtin true command which is identical to this utility. Consult the builtin(1) manual page.

Releases

163 releases since Mac OS X 10.0; the text changed 1 time.

  1. 10.0–12.2
  2. 12.3–26.5

Standards

The true utility is expected to be IEEE Std 1003.2 (“POSIX.2”) compatible.

From shell_cmds 329 in macOS 26.5. Parsed by carta from the page's mdoc source.