EXIT(1)

NAME
exit - exit with a given exit code

SYNOPSIS
exit [n]

DESCRIPTION
exit exits with the exit code n, or 0 if n is not given (in which case it's the same as ‘true’ ). If n is not a number, exit exits 100.

‘exit’ is a standard shell builtin, with the same function.

SEE ALSO
emptyenv(1), envfile(1), exec(1), execline-cd(1), execline-umask(1), export(1), fdblock(1), fdclose(1), fdmove(1), fdreserve(1), fdswap(1), getcwd(1), getpid(1), heredoc(1), piperw(1), posix-cd(1), posix-umask(1), redirfd(1), trap(1), tryexec(1), unexport(1), wait(1), withstdinas(1)

This man page is ported from the authoritative documentation at: https://skarnet.org/software/execline/exit.html

AUTHORS
Laurent Bercot Alexis <flexibeast@gmail.com> (man page port)