exit



usage: exit [ N ]

Exits the command line tool.

The argument N is the final exit code returned to the calling process. If no argument is supplied, the result of the previous operation will be returned to the calling process.

Return Codes

Listed below are the different return codes for the exit command:

Code

Description

Code

Description

N

The value of the supplied argument or the final exit code from the last command.