So I have a simple shell script. What is the difference between the two commands in execution? Is there a preferred way?$sh -x foobar.shOR$ ./foobar.shI found the script executed slower when used with the second command.
Difference between sh -x and ./ for script execution
bash;shell script;scripting