The Full Wiki

More info on Exit (command)

Exit (command): Wikis

Advertisements

Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.

Encyclopedia

(Redirected to exit (command) article)

From Wikipedia, the free encyclopedia

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 a simple integer value that is then returned to the parent process. Scripting languages providing this command include sh, ksh, Perl, AWK, PHP, TCL, and others.

See also

References

Advertisements

Simple English

exit is a command on the terminal in many operating systems and scripting languages. It is used to stop all processes that are running in the terminal and close the terminal window. This is also the command to use to safely end all processes in the terminal.

Using this command will log the wikt:user out of his/her wikt:session in the terminal. Many scripting languages, like Perl and PHP uses this command.


Advertisements






Got something to say? Make a comment.
Your name
Your email address
Message