HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

exit — Exit the shell. More information: <https://manned.org/exit.1posix>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
theshellcommandexitcliinformationmore

Problem

How to use the exit command: Exit the shell. More information: <https://manned.org/exit.1posix>.

Solution

exit — Exit the shell. More information: <https://manned.org/exit.1posix>.

Exit with the exit status of the most recently executed command:
exit


Exit with a specific exit status:
exit {{exit_code}}

Code Snippets

Exit with the exit status of the most recently executed command

exit

Exit with a specific exit status

exit {{exit_code}}

Context

tldr-pages: common/exit

Revisions (0)

No revisions yet.