The true Command

The true command does one thing: return a zero exit status. It is often used to generate infinite loops for argument-processing. In some versions of the Korn shell, true is a preset alias ":". It also returns a zero exit status.

Get Korn Shell: Unix and Linux Programming Manual, Third Edition, The 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.