Welcome to part 5 of HowToForge's shell scripting tutorial series. In this part, you will learn how to efficiently structure your scripts by creating functions. By the end of this tutorial, you will be able to know how to create functions in the Linux Bash Shell, pass parameters to your functions and return some values from a function to your main code.
June 2, 2015
Shell Scripting Part V: Functions in Bash
Read more at HowtoForge