chmod +X YOUR-SCRIPT.sh ./YOUR-SCRIPT.sh Wave a good bye to your problems :).