Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Implementations  





2 See also  





3 References  





4 Further reading  





5 External links  














exit (command)






العربية
Català
Čeština
Français

Italiano
עברית
Magyar

Português
Română
Русский
Simple English
Türkçe
Українська

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




Print/export  



















Appearance
   

 






From Wikipedia, the free encyclopedia
 


This is an old revision of this page, as edited by Ghettoblaster (talk | contribs)at17:43, 20 July 2019. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff)  Previous revision | Latest revision (diff) | Newer revision  (diff)

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 consoleorterminal 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.

OnMS-DOS, the command is available in versions 2 and later.[8] It is also available in the open source MS-DOS emulator DOSBox.

The numerical computing environment MATLAB includes an exit function with similar functionality.[9]

See also

References

  • ^ "User Guide" (PDF). www.bitsavers.org.
  • ^ "MPE/iX Command Reference Manual" (PDF).
  • ^ "Shell - KolibriOS wiki". wiki.kolibrios.org.
  • ^ "Data". www.symbos.de.
  • ^ Archiveddocs. "Exit3". docs.microsoft.com.
  • ^ Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN 0-7356-1812-7.
  • ^ https://www.mathworks.com/help/matlab/ref/exit.html
  • Further reading

    External links

  • t
  • e

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Exit_(command)&oldid=907126301"

    Categories: 
    Windows commands
    Internal DOS commands
    OS/2 commands
    Windows administration
    Unix SUS2008 utilities
    Unix process- and task-management-related software
    Operating system stubs
    Hidden category: 
    All stub articles
     



    This page was last edited on 20 July 2019, at 17:43 (UTC).

    This version of the page has been revised. Besides normal editing, the reason for revision may have been that this version contains factual inaccuracies, vandalism, or material not compatible with the Creative Commons Attribution-ShareAlike License.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki