Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

exit (command)

From Wikipedia, the free encyclopedia
Termination command of many command-line interpreters and scripting languages
exit
TheReactOSexit command
DevelopersVariousopen-source andcommercial developers
Operating systemCross-platform
TypeCommand

Incomputing,exit is acommand used in manyoperating systemcommand-lineshells andscripting languages.

The command causes the shell or program toterminate. If performed within an interactive command shell, the user is logged out of their currentsession, and/or user's currentconsole orterminal connection is disconnected. Typically an optionalexit code can be specified, which is typically a simple integer value that is then returned to theparent process.

Implementations

[edit]

Operating systems, shells, and scripting languages providing this command includeMicrosoftMSX-DOS version 2,[1]IBMOS/2,[2]DRFlexOS,[3]HPMPE/iX,[4]KolibriOS,[5]SymbOS,[6]cmd.exe,[7]sh,ksh,Perl,AWK,PHP,TCL,PowerShell, and others.

OnMS-DOS, the command is available in versions 2 and later.[8]DR DOS 6.0[9] andDatalightROM-DOS[10] also include an implementation of theexit command. It is also available in theopen source MS-DOSemulatorDOSBox.

Thenumerical computing environmentMATLAB includes anexit function with similar functionality.[11]

See also

[edit]

References

[edit]
  1. ^MSX-DOS version 2
  2. ^"JaTomes Help - OS/2 Commands".www.jatomes.com. Archived fromthe original on 2019-04-14.
  3. ^"User Guide"(PDF).www.bitsavers.org. Archived fromthe original(PDF) on 2018-09-14. Retrieved2018-09-16.
  4. ^"MPE/iX Command Reference Manual"(PDF). Archived fromthe original(PDF) on 2018-10-21. Retrieved2023-08-05.
  5. ^"Shell - KolibriOS wiki".wiki.kolibrios.org.Archived from the original on 2019-02-11. Retrieved2026-02-03.
  6. ^"Data".www.symbos.de.Archived from the original on 2021-11-27. Retrieved2026-02-03.
  7. ^Archiveddocs."Exit3".docs.microsoft.com.Archived from the original on 2022-08-27. Retrieved2026-02-03.
  8. ^Wolverton, Van (2003).Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition.Microsoft Press.ISBN 0-7356-1812-7.
  9. ^"DR DOS 6.0 User Guide Optimisation and Configuration Tips"(PDF).Archived from the original on 2019-09-30. Retrieved2026-02-03.
  10. ^"Datalight ROM-DOS User's Guide"(PDF).www.datalight.com.Archived(PDF) from the original on 2011-11-16. Retrieved2026-02-03.
  11. ^"Terminate MATLAB program (Same as quit) - MATLAB exit".

Further reading

[edit]

External links

[edit]
Wikibooks has a book on the topic of:Guide to Windows Commands
The WikibookGuide to Unix has a page on the topic of:Commands
File system
Processes
User environment
Text processing
Shell builtins
Searching
Documentation
Software development
Miscellaneous
Ecosystem
Interpreters
Terminals
File system navigation
File management
Archiving
Disk management
Processes
Registry
User environment
File contents
Scripting
Networking
Maintenance and care
Boot management
Software development
Miscellaneous
Retrieved from "https://en.wikipedia.org/w/index.php?title=Exit_(command)&oldid=1336331227"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp