mak a function in bash shell code example
Example 1: how to make a function in bash
print_something () {
echo Hello I am a function
}
Example 2: how to make a function in bash
function_name () {
<commands>
}
print_something () {
echo Hello I am a function
}
function_name () {
<commands>
}