UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: execChapter 5
The C Shell
Next: Reference: fg
 

exit

exit [(expr)]

Exit a shell script with the status given by expr. A status of 0 means success; nonzero means failure. If expr is not specified, the exit value is that of the status variable. exit can be issued at the command line to close a window (log out).


Previous: Reference: execUNIX in a Nutshell: System V EditionNext: Reference: fg
Reference: execBook IndexReference: fg

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System