true

do nothing, successfully 

Command, KornShell Built-in


SYNOPSIS

true [argument...]


DESCRIPTION

The true command simply yields an exit status of zero (success). It ignores any arguments given on the command line. This can be surprisingly useful, for example, when you are evaluating shell expressions for their side effects.


DIAGNOSTICS

Since this command always succeeds, the only possible exit status is:

0 

Successful completion.


PORTABILITY

POSIX.2. x/OPEN Portability Guide 4.0. All UNIX systems. Windows 2000. Windows XP. Windows Server 2003. Windows Vista.


NOTE

This command is provided as both an external utility and as a MKS KornShell built-in.


AVAILABILITY

MKS Toolkit for Power Users
MKS Toolkit for System Administrators
MKS Toolkit for Developers
MKS Toolkit for Interoperability
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Commands:
false, sh


MKS Toolkit 9.2 Documentation Build 16.