UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: readonlyChapter 4
The Bourne Shell and Korn Shell
Next: Reference: select
 

return

return [n]

Used inside a function definition. Exit the function with status n or with the exit status of the previously executed command.


Previous: Reference: readonlyUNIX in a Nutshell: System V EditionNext: Reference: select
Reference: readonlyBook IndexReference: select

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