The "exit" and "quit" commands are used to terminate the program. Both exit and quit perform the same function and can be used interchangeably.
Note: Using exit or quit in a script will terminate the script AND the session immediately. When the end of a script file is reached, control is automatically returned to the script's caller. There is no need to include an exit or quit command in a script unless the script needs to terminate the program as part of its operation.
See also: load