.TH true "" "" Command
.PC "Unconditional success"
.B true
.PP
.B true
does nothing, successfully.
It always returns zero (i.e., true).
.PP
.B true
is useful in shell scripts when you want
to execute a condition indefinitely.
For example, the following example
.DM
	while true; do
		date
	done
.DE
.PP
prints the current date and time on your screen forever
(or at least until interrupted by typing \fB<ctrl-C>\fR).
.SH "See Also"
.Xr "commands," commands
.Xr "false," false
.Xr "ksh," ksh
.Xr "sh" sh
.SH Notes
Under the Korn shell,
.B true
is an alias for the partial-comment \fB:\fR.
