fish-shell/doc_src/cmds/exit.rst
Aaron Gyes 7a8fce6941 Thwart more dastardly schemes
thanks @faho
2021-11-12 04:52:38 -08:00

17 lines
474 B
ReStructuredText

.. program::exit
exit - exit the shell
=====================
Synopsis
--------
**exit** [*code*]
Description
-----------
``exit`` is a special builtin that causes the shell to exit. Either 255 or the *code* supplied is used, whichever is lesser.
Otherwise, the exit status will be that of the last command executed.
If exit is called while sourcing a file (using the :program:`source` builtin) the rest of the file will be skipped, but the shell itself will not exit.