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


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 NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System