commands.sh

exit

all

Exit the shell.

More info →

Examples (2)

Exit with the exit status of the most recently executed command

Exit with a specific exit status

exit exit_code
made by @shridhargupta | data from tldr-pages