home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: exec Chapter 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: exec UNIX in a Nutshell: System V Edition Next: Reference: fg
Reference: exec Book Index Reference: fg

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