github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/docs/commands/exit.md (about) 1 # `exit` 2 3 > Exit murex 4 5 ## Description 6 7 Exit's Murex with either a exit number of 0 (by default if no parameters 8 supplied) or a custom value specified by the first parameter. 9 10 `exit` is not scope aware; if it is included in a function then the whole 11 shell will still exist and not just that function. 12 13 ## Usage 14 15 ``` 16 exit 17 exit number 18 ``` 19 20 ## Examples 21 22 ``` 23 » exit 24 ``` 25 26 ``` 27 » exit 42 28 ``` 29 30 ## See Also 31 32 * [`break`](../commands/break.md): 33 Terminate execution of a block within your processes scope 34 * [`die`](../commands/die.md): 35 Terminate murex with an exit number of 1 36 * [`null`](../commands/devnull.md): 37 null function. Similar to /dev/null 38 39 <hr/> 40 41 This document was generated from [builtins/core/typemgmt/types_doc.yaml](https://github.com/lmorg/murex/blob/master/builtins/core/typemgmt/types_doc.yaml).