true(1)

true1

Return true value

Usage

true

Overview

The true utility always returns with exit code 0.

Exit status

The true utility always returns with exit code 0.

Releases

61 releases since OpenBSD 2.1; the text changed 7 times.

  1. 2.1–2.4
  2. 2.5
  3. 2.6
  4. 2.7–3.3
  5. 3.4–4.1
  6. 4.2–4.4
  7. 4.5–4.8
  8. 4.9–8.0

Standards

The true utility is compliant with the IEEE Std 1003.1-2008 (“POSIX.1”) specification.

true also exists as a built-in to ksh(1).

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.