Linoxide published a tutorial about making a bash script executable using Chmod.
How to Make Bash Script Executable Using Chmod
This tutorial shows how to create a bash script and make it executable using the chmod command. You may also use sh or bash commands to execute scripts.
How to Make Bash Script Executable Using Chmod