Home  

Random  

Nearby  



Log in  



Settings  



Donate  



About Wikipedia  

Disclaimers  



Wikipedia





exit (command)





Article  

Talk  



Language  

Watch  

Edit  





Incomputing, exit is a command used in many operating system command-line shells and scripting languages.

exit
Developer(s)Various open-source and commercial developers
Operating systemCross-platform
TypeCommand

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

edit

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] 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

edit

References

edit
  • ^ "JaTomes Help - OS/2 Commands". www.jatomes.com. Archived from the original on 2019-04-14.
  • ^ "User Guide" (PDF). www.bitsavers.org. Archived from the original (PDF) on 2018-09-14. Retrieved 2018-09-16.
  • ^ "MPE/iX Command Reference Manual" (PDF). Archived from the original (PDF) on 2018-10-21. Retrieved 2023-08-05.
  • ^ "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.
  • ^ DR DOS 6.0 User Guide Optimisation and Configuration Tips
  • ^ "Datalight ROM-DOS User's Guide" (PDF). www.datalight.com.
  • ^ "Terminate MATLAB program (Same as quit) - MATLAB exit".
  • Further reading

    edit
    edit
  • t
  • e

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



    Last edited on 15 October 2023, at 16:37  





    Languages

     


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

    Italiano
    עברית
    Magyar

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

     

    Wikipedia


    This page was last edited on 15 October 2023, at 16:37 (UTC).

    Content is available under CC BY-SA 4.0 unless otherwise noted.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Terms of Use

    Desktop