Shell – What does exit 99 means

exitshell

I want to know what is exit 99 and why would one use it and what are the significance uses of it.

For example, I'm using exit 99.

Best Answer

There is no significance to exiting with code 99, other than there is perhaps in the context of a specific program.

Either way, exit exits the shell with a certain exit code, in this case, 99. You can find more information in help exit:

exit: exit [n]
    Exit the shell.

    Exits the shell with a status of N.  If N is omitted, the exit status
    is that of the last command executed.
Related Question