Revision [995]

This is an old revision of CommandExit made by DavidLee on 2009-11-25 09:58:51.

 

Command exit


Name

exit Exits the current shell or script.


Synopsis

exit [ret code]

Exits the current shell. If ret code is specified it is used as the exit value, otherwise 0.
If running an xmlsh script then exits the script with the specified exit code.
If running interactively exits the xmlsh program.


Examples

Example: exit with exit value 0
exit 0


Example: exit with the last command's exit value
exit 


CategoryCommands

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki