-
- exit - exit the current shell
-
- exit [ options ] [n]
-
- exit is shell special built-in that causes the shell that invokes it to exit. Before exiting the shell, if the EXIT trap is set
it will be invoked.
- If n is given, it will be used to set the exit status.
-
- If n is specified, the exit status is the least significant eight bits of the value of n. Otherwise, the exit status is the exit
status of preceding command. When invoked inside a trap, the preceding command means the command that invoked the trap.
-
- break(1), return(1)
-
- version
- exit (AT&T Research) 1999-07-07
- author
- David Korn <dgk@research.att.com>
- copyright
- Copyright © 1982-2010 AT&T Intellectual Property
- license
- http://www.opensource.org/licenses/cpl1.0.txt