return
Get help on Linux return Command.
Linux return command is use to return from a shell function on Linux system. The Linux return command is one of bash shell built in command. The command example below show how to get return command manual or help on Linux return command using shell command, this help show information on how to use the Linux return command, the return command options and the arguments that can be use with Linux return command.
Get Linux return command help
Execute help command and the name of Linux command that we want the help file, the example below we execute help command with -m option to get the help for return command using the manpage format.
[linux@fedora11 ~]$ help -m return
NAME
return - Return from a shell function.
SYNOPSIS
return [n]
DESCRIPTION
Return from a shell function.
Causes a function or sourced script to exit with the return value
specified by N. If N is omitted, the return status is that of the
last command executed within the function or script.
Exit Status:
Returns N, or failure if the shell is not executing a function or script.
SEE ALSO
bash(1)
IMPLEMENTATION
GNU bash, version 4.0.16(1)-release (i386-redhat-linux-gnu)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
[linux@fedora11 ~]$
Keywords: return, return command, linux return command, return linux command, linux command return, return command manual, return manual, return help, help return, command return help, help return command
- Add new comment
- 408 reads
- Tell your friends


Recent comments
16 weeks 5 days ago
21 weeks 10 hours ago
21 weeks 12 hours ago
24 weeks 4 days ago
24 weeks 4 days ago
29 weeks 5 days ago
29 weeks 6 days ago
29 weeks 6 days ago