exit [n]
Exit the shell with a status of N. If N is omitted, the exit status is that of the last command executed.
Reference: https://cgit.git.savannah.gnu.org/cgit/bash.git/plain/builtins/exit.def?h=bash-5.3
exit [n]
Exit the shell with a status of N. If N is omitted, the exit status is that of the last command executed.
Reference: https://cgit.git.savannah.gnu.org/cgit/bash.git/plain/builtins/exit.def?h=bash-5.3