UNIX in a Nutshell: System V Edition

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

return

return [n]

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


Previous: Reference: redirectUNIX in a Nutshell: System V EditionNext: Reference: select
Reference: redirectBook 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