bash script to reconize functions code example
Example 1: function in bash
#FIRST METHOD
Hello () {
echo 'Hello Wordl'
}
Hello
#SECOND METHOD
function Hello {
echo 'Hello Wordl'
}
Hello
Example 2: how to make a function in bash
function_name () {
<commands>
}