Name

true

Synopsis

    true

A do-nothing command that returns a successful (zero) exit status. Normally used in Bourne shell scripts. See also true.

true is built into most modern shells.

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.