How to call the function function1 in shell
-
function1()
-
call function1
-
function1
-
ask function1
A
Correct answer
Explanation
In shell scripting, functions are invoked using the function name followed by parentheses. Without parentheses, the shell would treat it as a command or external program name rather than a function call.