Bash functions, unlike functions in most programming languages do not allow you to return a value to the caller. When a bash function ends its return value is its status: zero for success, non-zero ...
Here are some basic skills to get started with bash, one of the best shells for preparing and using scripts on Linux. Scripting in Linux–putting commands into a file so you can run them as a group—is ...