From 06f92c2796e6ac02ef096223b27376b65b8f3c70 Mon Sep 17 00:00:00 2001 From: Krasimir Nedelchev <19822240+kaykayehnn@users.noreply.github.com> Date: Thu, 31 Oct 2019 20:03:25 +0200 Subject: [PATCH] Add exit (#3520) --- pages/common/exit.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/common/exit.md diff --git a/pages/common/exit.md b/pages/common/exit.md new file mode 100644 index 000000000..beb68980b --- /dev/null +++ b/pages/common/exit.md @@ -0,0 +1,11 @@ +# exit + +> Exit the shell. + +- Exit the shell with the exit code of the last command executed: + +`exit` + +- Exit the shell with the specified exit code: + +`exit {{exit_code}}`