exit (command)
Page Module:Infobox/styles.css has no content.
| exit | |
|---|---|
| Lua error in package.lua at line 80: module 'Module:InfoboxImage/data' not found. The ReactOS exit command | |
| [[Programmer|DeveloperTemplate:Pluralize from text]] | Various open-source and commercial developers |
| Operating system | Cross-platform |
| Type | Command |
| Website | Script error: No such module "WikidataIB". |
Script error: No such module "Check for conflicting parameters".
In computing, exit is a command used in many operating system command-line shells and scripting languages.
The command causes the shell or program to terminate. If performed within an interactive command shell, the user is logged out of their current session, and/or user's current console or terminal connection is disconnected. Typically an optional exit code can be specified, which is typically a simple integer value that is then returned to the parent process.
Implementations
Operating systems, shells, and scripting languages providing this command include Microsoft MSX-DOS version 2,[1] IBM OS/2,[2] DR FlexOS,[3] HP MPE/iX,[4] KolibriOS,[5] SymbOS,[6] cmd.exe,[7] sh, ksh, Perl, AWK, PHP, TCL, PowerShell, and others.
On MS-DOS, the command is available in versions 2 and later.[8] DR DOS 6.0[9] and Datalight ROM-DOS[10] also include an implementation of the exit command. It is also available in the open source MS-DOS emulator DOSBox.
The numerical computing environment MATLAB includes an exit function with similar functionality.[11]
See also
References
Page Template:Reflist/styles.css has no content.
- ^ MSX-DOS version 2
- ^ Page Module:Citation/CS1/styles.css has no content."JaTomes Help - OS/2 Commands". www.jatomes.com. Archived from the original on 2019-04-14.
- ^ Page Module:Citation/CS1/styles.css has no content."User Guide" (PDF). www.bitsavers.org. Archived from the original (PDF) on 2018-09-14. Retrieved 2018-09-16.
- ^ Page Module:Citation/CS1/styles.css has no content."MPE/iX Command Reference Manual" (PDF). Archived from the original (PDF) on 2018-10-21. Retrieved 2023-08-05.
- ^ Page Module:Citation/CS1/styles.css has no content."Shell - KolibriOS wiki". wiki.kolibrios.org. Archived from the original on 2019-02-11. Retrieved 2026-02-03.
- ^ Page Module:Citation/CS1/styles.css has no content."Data". www.symbos.de. Archived from the original on 2021-11-27. Retrieved 2026-02-03.
- ^ Page Module:Citation/CS1/styles.css has no content.Archiveddocs. "Exit3". docs.microsoft.com. Archived from the original on 2022-08-27. Retrieved 2026-02-03.
- ^ Page Module:Citation/CS1/styles.css has no content.Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN 0-7356-1812-7.
- ^ Page Module:Citation/CS1/styles.css has no content."DR DOS 6.0 User Guide Optimisation and Configuration Tips" (PDF). Archived from the original on 2019-09-30. Retrieved 2026-02-03.
- ^ Page Module:Citation/CS1/styles.css has no content."Datalight ROM-DOS User's Guide" (PDF). www.datalight.com. Archived (PDF) from the original on 2011-11-16. Retrieved 2026-02-03.
- ^ Page Module:Citation/CS1/styles.css has no content."Terminate MATLAB program (Same as quit) - MATLAB exit".
Further reading
- Page Module:Citation/CS1/styles.css has no content.Cooper, Jim (2001). Special Edition Using MS-DOS 6.22, Third Edition. Que Publishing. ISBN 978-0789725738.
- Page Module:Citation/CS1/styles.css has no content.Dyson, Peter (1995). Mastering OS/2 Warp. Sybex. ISBN 978-0782116632.
- Page Module:Citation/CS1/styles.css has no content.Barrett, Daniel J. (2012). Macintosh Terminal Pocket Guide: Take Command of Your Mac. O'Reilly. ISBN 978-1449328986.
- Page Module:Citation/CS1/styles.css has no content.Stanek, William R. (2008). Windows Command-Line Administrator's Pocket Consultant, 2nd Edition. Microsoft Press. ISBN 978-0735622623.
External links
Page Module:Side box/styles.css has no content.Page Template:Sister project/styles.css has no content.
Page Module:Side box/styles.css has no content.Page Template:Sister project/styles.css has no content.
- exit: cause the shell to exit – Commands & Utilities Reference, The Single UNIX® Specification, Issue 7 from The Open Group
- exit | Microsoft Docs
Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found. Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.